mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-12 07:16:01 +00:00
racing:: removed always_false
This commit is contained in:
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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user