mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
@ -1,6 +1,7 @@
|
||||
1.0.0-b25
|
||||
|
||||
* Fixes for WebSocket echo server
|
||||
* Fix 32-bit arm7 warnings
|
||||
|
||||
API Changes:
|
||||
|
||||
|
@ -83,7 +83,8 @@ class buffer_cat_helper<Bn...>::const_iterator
|
||||
iter()
|
||||
{
|
||||
return *reinterpret_cast<
|
||||
iter_t<I>*>(buf_.data());
|
||||
iter_t<I>*>(static_cast<void*>(
|
||||
buf_.data()));
|
||||
}
|
||||
|
||||
template<std::size_t I>
|
||||
@ -91,7 +92,8 @@ class buffer_cat_helper<Bn...>::const_iterator
|
||||
iter() const
|
||||
{
|
||||
return *reinterpret_cast<
|
||||
iter_t<I> const*>(buf_.data());
|
||||
iter_t<I> const*>(static_cast<
|
||||
void const*>(buf_.data()));
|
||||
}
|
||||
|
||||
public:
|
||||
|
@ -598,9 +598,9 @@ basic_streambuf<Allocator>::prepare(size_type n) ->
|
||||
while(n > 0)
|
||||
{
|
||||
auto const size = std::max(alloc_size_, n);
|
||||
auto& e = *reinterpret_cast<element*>(
|
||||
alloc_traits::allocate(this->member(),
|
||||
sizeof(element) + size));
|
||||
auto& e = *reinterpret_cast<element*>(static_cast<
|
||||
void*>(alloc_traits::allocate(this->member(),
|
||||
sizeof(element) + size)));
|
||||
alloc_traits::construct(this->member(), &e, size);
|
||||
list_.push_back(e);
|
||||
if(out_ == list_.end())
|
||||
|
Reference in New Issue
Block a user