Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
deathkiller committed Jan 4, 2025
1 parent d7be341 commit 7986df7
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions Sources/Shared/Containers/StaticArray.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -703,7 +703,7 @@ namespace Death { namespace Containers {
return ArrayView<T>{array};
}

/**
/** @relatesalso StaticArray
@brief Make a view on a const @ref StaticArray
Convenience alternative to converting to an @ref ArrayView explicitly.
Expand All @@ -712,7 +712,7 @@ namespace Death { namespace Containers {
return ArrayView<const T>{array};
}

/**
/** @relatesalso StaticArray
@brief Make a static view on a @ref StaticArray
Convenience alternative to converting to an @ref StaticArrayView explicitly.
Expand All @@ -721,7 +721,7 @@ namespace Death { namespace Containers {
return StaticArrayView<size, T>{array};
}

/**
/** @relatesalso StaticArray
@brief Make a static view on a const @ref StaticArray
Convenience alternative to converting to an @ref StaticArrayView explicitly.
Expand All @@ -730,7 +730,7 @@ namespace Death { namespace Containers {
return StaticArrayView<size, const T>{array};
}

/**
/** @relatesalso StaticArray
@brief Reinterpret-cast a static array
See @ref arrayCast(StaticArrayView<size, T>) for more information.
Expand All @@ -744,7 +744,7 @@ namespace Death { namespace Containers {
return arrayCast<const U>(staticArrayView(array));
}

/**
/** @relatesalso StaticArray
@brief Static array size
See @ref arraySize(ArrayView<T>) for more information.
Expand Down
2 changes: 1 addition & 1 deletion Sources/Shared/Containers/StringView.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
4 changes: 2 additions & 2 deletions Sources/Shared/Core/Backward.h
Original file line number Diff line number Diff line change
Expand Up @@ -3709,7 +3709,7 @@ namespace Death { namespace Backward {
CreateMemoryDump = 0x08
};

DEFINE_ENUM_OPERATORS(Flags);
DEATH_ENUM_FLAGS(Flags);

/*************** PRINTER ***************/

Expand Down Expand Up @@ -4380,7 +4380,7 @@ namespace Death { namespace Backward {
ValidRequestingThreadId = 0x02
};

DEFINE_PRIVATE_ENUM_OPERATORS(MinidumpRawInfoValidity);
DEATH_PRIVATE_ENUM_FLAGS(MinidumpRawInfoValidity);

struct MinidumpRawInfo {
MinidumpRawInfoValidity Validity;
Expand Down
2 changes: 1 addition & 1 deletion Sources/Shared/IO/FileAccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ namespace Death { namespace IO {
InheritHandle = 0x20
};

DEFINE_ENUM_OPERATORS(FileAccess);
DEATH_ENUM_FLAGS(FileAccess);

}}
4 changes: 2 additions & 2 deletions Sources/Shared/IO/FileSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Sources/Shared/IO/PakFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7986df7

Please sign in to comment.