🚨 fix compiler warning
This commit is contained in:
parent
3607687a14
commit
c0a39b22a6
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ struct allocator_no_forward : std::allocator<T>
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class... Args>
|
template <class... Args>
|
||||||
void construct(T* p, const Args& ... args)
|
void construct(T* p, const Args& ... args) noexcept(noexcept(::new (static_cast<void*>(p)) T(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