mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-02 16:29:54 +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 bool on = false: emits a warning
|
||||||
// static const bool on = false: no warning, but does not allow assignment
|
// 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 {
|
namespace racing {
|
||||||
static const always_false on;
|
static const always_false on;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user