edits
[iotcloud.git] / version2 / src / C / Error.h
index ff8eb8de7ddefc0ce2ccf39b88727ac325357c95..106ae8ee02b1a6fc942980fd4cc7290bfbeeb1a4 100644 (file)
@@ -20,9 +20,9 @@ public:
 #define ServerException_TypeSalt 3
 
 class ServerException {
+       char type;
 public:
        ServerException(const char *msg, char _type) : type(_type) {}
-       char getType();
-       char type;
+       char getType() {return type;}
 };
 #endif