summaryrefslogtreecommitdiffstats
path: root/include/core/Defs.hpp
diff options
context:
space:
mode:
authorNickolai Korshunov <n.a.korshunov@gmail.com>2018-02-23 15:50:41 +0300
committerNickolai Korshunov <n.a.korshunov@gmail.com>2018-02-23 15:50:41 +0300
commite123650d76d4554a3b3db373594714c62f83fa2c (patch)
treef64fd78e4cef5abd3ffb932d026c8921a618742a /include/core/Defs.hpp
parent73a67b16b1904b3cfaa8c1f1f9891cd9d416cb43 (diff)
downloadredot-cpp-e123650d76d4554a3b3db373594714c62f83fa2c.tar.gz
Strict enums
Diffstat (limited to 'include/core/Defs.hpp')
-rw-r--r--include/core/Defs.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/Defs.hpp b/include/core/Defs.hpp
index f8c76d3..4b73cfa 100644
--- a/include/core/Defs.hpp
+++ b/include/core/Defs.hpp
@@ -4,7 +4,7 @@
namespace godot {
-enum Error {
+enum class Error {
OK,
FAILED, ///< Generic fail error
ERR_UNAVAILABLE, ///< What is requested is unsupported/unavailable