Skip to content

Commit bf24975

Browse files
committed
1 parent c066e47 commit bf24975

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/containers/array.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ struct array_value_type<T> {
3535
};
3636

3737
struct monostate {
38-
friend auto operator<=>(monostate, monostate) = default;
38+
// Cannot be a hidden friend to work around
39+
// https://github.com/llvm/llvm-project/issues/123815
40+
auto operator<=>(monostate const &) const & = default;
3941
};
4042

4143
template<std::size_t size>

0 commit comments

Comments
 (0)