🎨 fix indentation
This commit is contained in:
parent
ea0a7c7b4f
commit
6121fc52cf
1 changed files with 13 additions and 12 deletions
|
@ -245,12 +245,13 @@ struct allocator_no_forward : std::allocator<T>
|
||||||
allocator_no_forward(allocator_no_forward<U>) {}
|
allocator_no_forward(allocator_no_forward<U>) {}
|
||||||
|
|
||||||
template <class U>
|
template <class U>
|
||||||
struct rebind {
|
struct rebind
|
||||||
|
{
|
||||||
using other = allocator_no_forward<U>;
|
using other = allocator_no_forward<U>;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class... Args>
|
template <class... Args>
|
||||||
void construct(T* p, const Args&... args)
|
void construct(T* p, const Args& ... args)
|
||||||
{
|
{
|
||||||
// force copy even if move is available
|
// force copy even if move is available
|
||||||
::new (static_cast<void*>(p)) T(args...);
|
::new (static_cast<void*>(p)) T(args...);
|
||||||
|
|
Loading…
Reference in a new issue