Commit 04b15eda authored by Gordon McShane's avatar Gordon McShane Committed by Harris Hancock

Allow VOID to be constexpr

parent 05eba1b0
......@@ -63,7 +63,7 @@ struct Void {
inline constexpr bool operator!=(Void other) const { return false; }
};
static KJ_CONSTEXPR(const) Void VOID = Void();
static constexpr Void VOID = Void();
// Constant value for `Void`, which is an empty struct.
inline kj::StringPtr KJ_STRINGIFY(Void) { return "void"; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment