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