forked from boostorg/beast
1 parent
dd6dff92ab
commit
92d34b9e3b
23 files changed
+39
-41
No files matched your search
@@ -27,13 +27,13 @@ struct static_pool
|
||||
char*
|
||||
end()
|
||||
{
|
||||
return reinterpret_cast<char*>(this+1) + size_;
|
||||
return reinterpret_cast<char*>(this + 1) + size_;
|
||||
}
|
||||
|
||||
explicit
|
||||
static_pool(std::size_t size)
|
||||
: size_(size)
|
||||
, p_(reinterpret_cast<char*>(this+1))
|
||||
, p_(reinterpret_cast<char*>(this + 1))
|
||||
{
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ public:
|
||||
{
|
||||
if(--count_)
|
||||
return;
|
||||
p_ = reinterpret_cast<char*>(this+1);
|
||||
p_ = reinterpret_cast<char*>(this + 1);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user