summaryrefslogtreecommitdiffstats
path: root/src/engine/events/SetMetadata.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/events/SetMetadata.hpp')
-rw-r--r--src/engine/events/SetMetadata.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/events/SetMetadata.hpp b/src/engine/events/SetMetadata.hpp
index b4b1d0ef..ee7d9d42 100644
--- a/src/engine/events/SetMetadata.hpp
+++ b/src/engine/events/SetMetadata.hpp
@@ -82,12 +82,13 @@ public:
void post_process();
private:
- enum { NO_ERROR,
+ enum ErrorType {
+ NO_ERROR,
NOT_FOUND,
INTERNAL,
BAD_OBJECT_TYPE,
BAD_VALUE_TYPE
- } _error;
+ };
enum SpecialType {
NONE,