1
0
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:
Jesse Ruderman
2021-06-28 22:33:08 -07:00
parent 548b5b7772
commit 59b7e7bbdf
4 changed files with 5 additions and 5 deletions

View File

@@ -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 */