mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-20 16:37:40 +00:00
Remove extra semis in struct defs
This commit is contained in:
4
hyper.h
4
hyper.h
@@ -26,8 +26,8 @@ namespace hr {
|
||||
|
||||
/** \brief A helper structure that acts as a boolean which is always false. Helpful when disabling stuff with compiler flags. */
|
||||
struct always_false {
|
||||
operator bool() const { return false; };
|
||||
bool operator = (bool b) const { return b; };
|
||||
operator bool() const { return false; }
|
||||
bool operator = (bool b) const { return b; }
|
||||
};
|
||||
|
||||
/** \brief placate GCC's overzealous -Wunused-result */
|
||||
|
Reference in New Issue
Block a user