diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-15 00:12:13 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-15 00:12:13 +0100 |
commit | ddbcefd960052f3d27fef5f57fc933d269b17857 (patch) | |
tree | a6a2daf2b14391b862b29e268c6360e83fe8c216 /src | |
parent | 26766a588d988e635112878aba71c69c8f057c16 (diff) |
Made flags only one bit wide
Diffstat (limited to 'src')
-rw-r--r-- | src/formats/osml/OsmlStreamParser.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/formats/osml/OsmlStreamParser.hpp b/src/formats/osml/OsmlStreamParser.hpp index 3827118..dc3034c 100644 --- a/src/formats/osml/OsmlStreamParser.hpp +++ b/src/formats/osml/OsmlStreamParser.hpp @@ -139,24 +139,24 @@ public: /** * Set to true if this is a command with clear begin and end. */ - bool hasRange; + bool hasRange : 1; /** * Set to true if we are currently inside a field of this command. */ - bool inField; + bool inField : 1; /** * Set to true if we are currently in the range field of the command * (implies inField being set to true). */ - bool inRangeField; + bool inRangeField : 1; /** * Set to true if we are currently in a field that has been especially * marked as default field (using the "|") syntax. */ - bool inDefaultField; + bool inDefaultField : 1; /** * Default constructor. |