summaryrefslogtreecommitdiff
path: root/src/include/iodevice.h
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-10-11 19:28:50 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-10-11 19:28:50 +0200
commit3ea7edf8c9bf7583c426178d4aaff4fb5b736bd2 (patch)
treeae78ebf9e9d1f70da8a6fdad1504063644ee8f1e /src/include/iodevice.h
parent1a7c572099edf744d6bb67318cff215de3fcd897 (diff)
use some enum classes
move ParseResult to recursivedescent.h
Diffstat (limited to 'src/include/iodevice.h')
-rw-r--r--src/include/iodevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/iodevice.h b/src/include/iodevice.h
index 3e3330d..18e3a83 100644
--- a/src/include/iodevice.h
+++ b/src/include/iodevice.h
@@ -43,7 +43,7 @@ namespace Binc {
};
/// Errors from when an operation returned false.
- enum Error { Unknown, Timeout };
+ enum class Error { Unknown, Timeout };
/**
* Constructs an invalid IODevice.
@@ -123,7 +123,7 @@ namespace Binc {
*/
unsigned int getTimeout() const;
- enum LogLevel { ErrorLevel, InfoLevel, WarningLevel, DebugLevel };
+ enum class LogLevel { ErrorLevel, InfoLevel, WarningLevel, DebugLevel };
/**
* Sets the output level for the following write operations on this