diff --git a/AK/ArbitrarySizedEnum.h b/AK/ArbitrarySizedEnum.h index c9a4d0c5cb1..df685f95e7d 100644 --- a/AK/ArbitrarySizedEnum.h +++ b/AK/ArbitrarySizedEnum.h @@ -7,6 +7,7 @@ #pragma once +#include #include namespace AK { @@ -66,22 +67,22 @@ struct ArbitrarySizedEnum : public T { [[nodiscard]] constexpr ArbitrarySizedEnum operator|(ArbitrarySizedEnum const& other) const { - return { T(this->value() | other.value()), {} }; + return { T(this->value() | other.value()), Badge> {} }; } [[nodiscard]] constexpr ArbitrarySizedEnum operator&(ArbitrarySizedEnum const& other) const { - return { T(this->value() & other.value()), {} }; + return { T(this->value() & other.value()), Badge> {} }; } [[nodiscard]] constexpr ArbitrarySizedEnum operator^(ArbitrarySizedEnum const& other) const { - return { T(this->value() ^ other.value()), {} }; + return { T(this->value() ^ other.value()), Badge> {} }; } [[nodiscard]] constexpr ArbitrarySizedEnum operator~() const { - return { T(~this->value()), {} }; + return { T(~this->value()), Badge> {} }; } constexpr ArbitrarySizedEnum& operator|=(ArbitrarySizedEnum const& other)