From 29a057d1d940722f6b01b137e059c8c5e79af668 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 3 Apr 2015 23:33:44 +0200 Subject: Make "State" a class to avoid some warnings --- src/core/parser/stack/State.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core') 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; * 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. */ -- cgit v1.2.3