From 7986df751046834b4f5ba4c0711d06f1775cb0ab Mon Sep 17 00:00:00 2001 From: Death Killer <884052+deathkiller@users.noreply.github.com> Date: Sat, 4 Jan 2025 19:46:15 +0100 Subject: [PATCH] Fixed build --- Sources/Shared/Containers/StaticArray.h | 12 ++++++------ Sources/Shared/Containers/StringView.h | 2 +- Sources/Shared/Core/Backward.h | 4 ++-- Sources/Shared/IO/FileAccess.h | 2 +- Sources/Shared/IO/FileSystem.h | 4 ++-- Sources/Shared/IO/PakFile.h | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Sources/Shared/Containers/StaticArray.h b/Sources/Shared/Containers/StaticArray.h index 78d7fe9a..f14f198d 100644 --- a/Sources/Shared/Containers/StaticArray.h +++ b/Sources/Shared/Containers/StaticArray.h @@ -694,7 +694,7 @@ namespace Death { namespace Containers { #endif }; - /** + /** @relatesalso StaticArray @brief Make a view on a @ref StaticArray Convenience alternative to converting to an @ref ArrayView explicitly. @@ -703,7 +703,7 @@ namespace Death { namespace Containers { return ArrayView{array}; } - /** + /** @relatesalso StaticArray @brief Make a view on a const @ref StaticArray Convenience alternative to converting to an @ref ArrayView explicitly. @@ -712,7 +712,7 @@ namespace Death { namespace Containers { return ArrayView{array}; } - /** + /** @relatesalso StaticArray @brief Make a static view on a @ref StaticArray Convenience alternative to converting to an @ref StaticArrayView explicitly. @@ -721,7 +721,7 @@ namespace Death { namespace Containers { return StaticArrayView{array}; } - /** + /** @relatesalso StaticArray @brief Make a static view on a const @ref StaticArray Convenience alternative to converting to an @ref StaticArrayView explicitly. @@ -730,7 +730,7 @@ namespace Death { namespace Containers { return StaticArrayView{array}; } - /** + /** @relatesalso StaticArray @brief Reinterpret-cast a static array See @ref arrayCast(StaticArrayView) for more information. @@ -744,7 +744,7 @@ namespace Death { namespace Containers { return arrayCast(staticArrayView(array)); } - /** + /** @relatesalso StaticArray @brief Static array size See @ref arraySize(ArrayView) for more information. diff --git a/Sources/Shared/Containers/StringView.h b/Sources/Shared/Containers/StringView.h index 420e7fc2..75d5daec 100644 --- a/Sources/Shared/Containers/StringView.h +++ b/Sources/Shared/Containers/StringView.h @@ -60,7 +60,7 @@ namespace Death { namespace Containers { NullTerminated = std::size_t{1} << (sizeof(std::size_t) * 8 - 2) }; - DEFINE_ENUM_OPERATORS(StringViewFlags); + DEATH_ENUM_FLAGS(StringViewFlags); namespace Implementation { diff --git a/Sources/Shared/Core/Backward.h b/Sources/Shared/Core/Backward.h index ce75df7f..5fde2716 100644 --- a/Sources/Shared/Core/Backward.h +++ b/Sources/Shared/Core/Backward.h @@ -3709,7 +3709,7 @@ namespace Death { namespace Backward { CreateMemoryDump = 0x08 }; - DEFINE_ENUM_OPERATORS(Flags); + DEATH_ENUM_FLAGS(Flags); /*************** PRINTER ***************/ @@ -4380,7 +4380,7 @@ namespace Death { namespace Backward { ValidRequestingThreadId = 0x02 }; - DEFINE_PRIVATE_ENUM_OPERATORS(MinidumpRawInfoValidity); + DEATH_PRIVATE_ENUM_FLAGS(MinidumpRawInfoValidity); struct MinidumpRawInfo { MinidumpRawInfoValidity Validity; diff --git a/Sources/Shared/IO/FileAccess.h b/Sources/Shared/IO/FileAccess.h index 60421df2..b9a4bc39 100644 --- a/Sources/Shared/IO/FileAccess.h +++ b/Sources/Shared/IO/FileAccess.h @@ -19,6 +19,6 @@ namespace Death { namespace IO { InheritHandle = 0x20 }; - DEFINE_ENUM_OPERATORS(FileAccess); + DEATH_ENUM_FLAGS(FileAccess); }} \ No newline at end of file diff --git a/Sources/Shared/IO/FileSystem.h b/Sources/Shared/IO/FileSystem.h index 12d1a66e..5a8ba3b0 100644 --- a/Sources/Shared/IO/FileSystem.h +++ b/Sources/Shared/IO/FileSystem.h @@ -54,7 +54,7 @@ namespace Death { namespace IO { Execute = 0x04 }; - DEFINE_PRIVATE_ENUM_OPERATORS(Permission); + DEATH_PRIVATE_ENUM_FLAGS(Permission); /** @brief Options that modify behavior of @ref Directory, supports a bitwise combination of its member values */ enum class EnumerationOptions @@ -69,7 +69,7 @@ namespace Death { namespace IO { SkipSpecial = 0x04 }; - DEFINE_PRIVATE_ENUM_OPERATORS(EnumerationOptions); + DEATH_PRIVATE_ENUM_FLAGS(EnumerationOptions); /** @brief Handles directory traversal, should be used as iterator */ class Directory diff --git a/Sources/Shared/IO/PakFile.h b/Sources/Shared/IO/PakFile.h index a5db3c27..7870ac65 100644 --- a/Sources/Shared/IO/PakFile.h +++ b/Sources/Shared/IO/PakFile.h @@ -112,7 +112,7 @@ namespace Death { namespace IO { Link = 0x80 // Not implemented }; - DEFINE_PRIVATE_ENUM_OPERATORS(ItemFlags); + DEATH_PRIVATE_ENUM_FLAGS(ItemFlags); #ifndef DOXYGEN_GENERATING_OUTPUT // Doxygen 1.12.0 outputs also private structs/unions even if it shouldn't