mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +00:00
racing:: removed always_false
This commit is contained in:
parent
dd0f573ca9
commit
e04471a254
5
hyper.h
5
hyper.h
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user