summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-04-03 23:33:44 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:19:31 +0200
commit29a057d1d940722f6b01b137e059c8c5e79af668 (patch)
treefcbb5b9cf0a79649b8c5e9810b5ba28a16b3fb0b
parent9753d1036fb29b579aba58933842b8ce62f27fdd (diff)
Make "State" a class to avoid some warnings
-rw-r--r--src/core/parser/stack/State.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/parser/stack/State.hpp b/src/core/parser/stack/State.hpp
index 011ccd6..fb610cf 100644
--- a/src/core/parser/stack/State.hpp
+++ b/src/core/parser/stack/State.hpp
@@ -55,7 +55,8 @@ using StateSet = std::unordered_set<const State *>;
* Class used for the complete specification of a State. Stores possible
* parent states, state handlers and arguments to be passed to that state.
*/
-struct State {
+class State {
+public:
/**
* Vector containing all possible parent states.
*/