diff --git a/src/Memory/__OptionalUniquePtr.hpp b/src/Memory/__OptionalUniquePtr.hpp index 425d1b8..70044a3 100644 --- a/src/Memory/__OptionalUniquePtr.hpp +++ b/src/Memory/__OptionalUniquePtr.hpp @@ -19,7 +19,7 @@ namespace ArbUt { /// @brief Initialise a OptionalUniquePtr with a specific raw pointer. inline OptionalUniquePtr(T* nullable ptr) : _raw(ptr){}; - NO_COPY_OR_MOVE(OptionalUniquePtr) + NO_COPY_OR_MOVE(OptionalUniquePtr); ~OptionalUniquePtr() noexcept { delete _raw; } diff --git a/src/Memory/__UniquePtr.hpp b/src/Memory/__UniquePtr.hpp index 8012b85..ba2f943 100644 --- a/src/Memory/__UniquePtr.hpp +++ b/src/Memory/__UniquePtr.hpp @@ -19,7 +19,7 @@ namespace ArbUt { /// @brief Initialise a UniquePtr with a specific raw pointer. inline UniquePtr(T* non_null ptr) : _raw(ptr) { EnsureNotNull(ptr) }; - NO_COPY_OR_MOVE(UniquePtr) + NO_COPY_OR_MOVE(UniquePtr); #if !WINDOWS // This doesn't work on mingw-w64 for some reason /// @brief Do not allow nullreference assignment diff --git a/src/Misc.hpp b/src/Misc.hpp index 61efbbe..2305789 100644 --- a/src/Misc.hpp +++ b/src/Misc.hpp @@ -2,9 +2,9 @@ #define ARBUTILS_MISC_HPP #define NO_COPY_OR_MOVE(type) \ - /* @brief: Copying is not allowed */ \ + /* @brief: Copying is not allowed */ \ type(const type&) = delete; \ - /* @brief: Copying is not allowed */ \ + /* @brief: Copying is not allowed */ \ type(type&&) = delete; \ /* @brief: Copy assignment is not allowed */ \ type& operator=(const type&) = delete; \