make operator<< overload constexpr (#1106)
This commit is contained in:
parent
2bd06dbe36
commit
45f99f5e1a
@ -1419,7 +1419,7 @@ T CheckNotNull(const char* file, int line, const char* names, T&& t) {
|
|||||||
struct LogMessageVoidify {
|
struct LogMessageVoidify {
|
||||||
// This has to be an operator with a precedence lower than << but
|
// This has to be an operator with a precedence lower than << but
|
||||||
// higher than ?:
|
// higher than ?:
|
||||||
void operator&(std::ostream&) noexcept {}
|
constexpr void operator&(std::ostream&) const noexcept {}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace internal
|
} // namespace internal
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user