Fixes for doxygen, style
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
0b545c46ee
commit
7373f7a26b
|
@ -19,7 +19,7 @@ namespace ArbUt {
|
||||||
/// @brief Initialise a OptionalUniquePtr with a specific raw pointer.
|
/// @brief Initialise a OptionalUniquePtr with a specific raw pointer.
|
||||||
inline OptionalUniquePtr<T>(T* nullable ptr) : _raw(ptr){};
|
inline OptionalUniquePtr<T>(T* nullable ptr) : _raw(ptr){};
|
||||||
|
|
||||||
NO_COPY_OR_MOVE(OptionalUniquePtr)
|
NO_COPY_OR_MOVE(OptionalUniquePtr);
|
||||||
|
|
||||||
~OptionalUniquePtr() noexcept { delete _raw; }
|
~OptionalUniquePtr() noexcept { delete _raw; }
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ namespace ArbUt {
|
||||||
/// @brief Initialise a UniquePtr with a specific raw pointer.
|
/// @brief Initialise a UniquePtr with a specific raw pointer.
|
||||||
inline UniquePtr<T>(T* non_null ptr) : _raw(ptr) { EnsureNotNull(ptr) };
|
inline UniquePtr<T>(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
|
#if !WINDOWS // This doesn't work on mingw-w64 for some reason
|
||||||
/// @brief Do not allow nullreference assignment
|
/// @brief Do not allow nullreference assignment
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
#define ARBUTILS_MISC_HPP
|
#define ARBUTILS_MISC_HPP
|
||||||
|
|
||||||
#define NO_COPY_OR_MOVE(type) \
|
#define NO_COPY_OR_MOVE(type) \
|
||||||
/* @brief: Copying is not allowed */ \
|
/* @brief: Copying is not allowed */ \
|
||||||
type(const type&) = delete; \
|
type(const type&) = delete; \
|
||||||
/* @brief: Copying is not allowed */ \
|
/* @brief: Copying is not allowed */ \
|
||||||
type(type&&) = delete; \
|
type(type&&) = delete; \
|
||||||
/* @brief: Copy assignment is not allowed */ \
|
/* @brief: Copy assignment is not allowed */ \
|
||||||
type& operator=(const type&) = delete; \
|
type& operator=(const type&) = delete; \
|
||||||
|
|
Loading…
Reference in New Issue