diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-10-11 19:28:50 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-10-11 19:28:50 +0200 |
commit | 3ea7edf8c9bf7583c426178d4aaff4fb5b736bd2 (patch) | |
tree | ae78ebf9e9d1f70da8a6fdad1504063644ee8f1e /src/session.cc | |
parent | 1a7c572099edf744d6bb67318cff215de3fcd897 (diff) |
use some enum classes
move ParseResult to recursivedescent.h
Diffstat (limited to 'src/session.cc')
-rw-r--r-- | src/session.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.cc b/src/session.cc index 0ae87df..fc7bde7 100644 --- a/src/session.cc +++ b/src/session.cc @@ -35,12 +35,12 @@ Session &Session::getInstance() return session; } -int Session::getState() const +Session::State Session::getState() const { return state; } -void Session::setState(int n) +void Session::setState(Session::State n) { state = n; } |