fix typo
This commit is contained in:
parent
669a66f18a
commit
a8c4aef6bd
@ -178,7 +178,7 @@ using std::make_unique;
|
||||
template<typename T, typename... Args>
|
||||
std::unique_ptr<T> make_unique(Args &&... args)
|
||||
{
|
||||
static_assert(!std::is_array<T>::value, "arrays to not supported");
|
||||
static_assert(!std::is_array<T>::value, "arrays not supported");
|
||||
return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user