fix
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit

This commit is contained in:
2024-08-23 17:08:52 -05:00
parent 66311b3f67
commit fc7a7063c2

View File

@ -68,7 +68,7 @@ enum class open_flags : std::uint32_t {
#if defined(__GNUG__) #if defined(__GNUG__)
__attribute__((unused)) __attribute__((unused))
#endif // defined(__GNUG__) #endif // defined(__GNUG__)
[[nodiscard]] inline auto inline auto
operator|(const open_flags &flag_1, const open_flags &flag_2) -> open_flags { operator|(const open_flags &flag_1, const open_flags &flag_2) -> open_flags {
using flag_t = std::underlying_type_t<open_flags>; using flag_t = std::underlying_type_t<open_flags>;
return static_cast<open_flags>(static_cast<flag_t>(flag_1) | return static_cast<open_flags>(static_cast<flag_t>(flag_1) |
@ -87,7 +87,7 @@ operator|=(open_flags &flag_1, const open_flags &flag_2) -> open_flags & {
#if defined(__GNUG__) #if defined(__GNUG__)
__attribute__((unused)) __attribute__((unused))
#endif // defined(__GNUG__) #endif // defined(__GNUG__)
[[nodiscard]] inline auto inline auto
operator&(const open_flags &flag_1, const open_flags &flag_2) -> open_flags { operator&(const open_flags &flag_1, const open_flags &flag_2) -> open_flags {
using flag_t = std::underlying_type_t<open_flags>; using flag_t = std::underlying_type_t<open_flags>;
return static_cast<open_flags>(static_cast<flag_t>(flag_1) & return static_cast<open_flags>(static_cast<flag_t>(flag_1) &