Makes GCC happy
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
407f9aaf73
commit
1d8bf3e747
|
@ -18,7 +18,8 @@ namespace ArbUt {
|
|||
inline OptionalUniquePtr<T>() : _raw(nullptr) {}
|
||||
/// @brief Initialise a OptionalUniquePtr with a specific raw pointer.
|
||||
inline OptionalUniquePtr<T>(T* nullable ptr) : _raw(ptr){};
|
||||
NO_COPY_OR_MOVE(OptionalUniquePtr<T>)
|
||||
|
||||
NO_COPY_OR_MOVE(OptionalUniquePtr)
|
||||
|
||||
~OptionalUniquePtr() noexcept { delete _raw; }
|
||||
|
||||
|
|
|
@ -18,7 +18,8 @@ namespace ArbUt {
|
|||
inline UniquePtr<T>() {}
|
||||
/// @brief Initialise a UniquePtr with a specific raw pointer.
|
||||
inline UniquePtr<T>(T* non_null ptr) : _raw(ptr) { EnsureNotNull(ptr); };
|
||||
NO_COPY_OR_MOVE(UniquePtr<T>)
|
||||
|
||||
NO_COPY_OR_MOVE(UniquePtr)
|
||||
|
||||
#if !WINDOWS // This doesn't work on mingw-w64 for some reason
|
||||
UniquePtr<T>(std::nullptr_t) = delete;
|
||||
|
|
Loading…
Reference in New Issue