1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 15:39:54 +00:00

racing:: removed always_false

This commit is contained in:
? 2019-02-17 18:51:25 +01:00 committed by Zeno Rogue
parent dd0f573ca9
commit e04471a254

View File

@ -4804,11 +4804,6 @@ bool subscreen_split(reaction_t for_each_subscreen);
// static bool on = false: emits a warning
// static const bool on = false: no warning, but does not allow assignment
struct always_false {
operator bool() const { return false; };
void operator = (bool b) const {};
};
namespace racing {
static const always_false on;
}