🚨 fix compiler warning

parent 3607687a
......@@ -251,7 +251,7 @@ struct allocator_no_forward : std::allocator<T>
};
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
::new (static_cast<void*>(p)) T(args...);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment