From ddbcefd960052f3d27fef5f57fc933d269b17857 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 15 Feb 2015 00:12:13 +0100 Subject: Made flags only one bit wide --- src/formats/osml/OsmlStreamParser.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/formats') 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. -- cgit v1.2.3