diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-19 09:25:54 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-19 09:25:54 +0100 |
commit | 4555e0719a2766e165e0a3774c26728152fb30cc (patch) | |
tree | b8ce3d1d183ebd07c3adfbf4d782aa832d581b2e /include/class.h | |
parent | bfaed88493de0a3ebd7f2619cb11291cd09252b1 (diff) |
negative default values for properties were not supported. This fixes issue #47
Diffstat (limited to 'include/class.h')
-rw-r--r-- | include/class.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/class.h b/include/class.h index f8ba578..192e653 100644 --- a/include/class.h +++ b/include/class.h @@ -148,9 +148,9 @@ public: * @param flags Optional flags */ void property(const char *name, std::nullptr_t value, int flags = Public) { ClassBase::property(name, value, flags); } - void property(const char *name, uint64_t value, int flags = Public) { ClassBase::property(name, value, flags); } - void property(const char *name, uint32_t value, int flags = Public) { ClassBase::property(name, value, flags); } - void property(const char *name, uint16_t value, int flags = Public) { ClassBase::property(name, value, flags); } + void property(const char *name, int64_t value, int flags = Public) { ClassBase::property(name, value, flags); } + void property(const char *name, int32_t value, int flags = Public) { ClassBase::property(name, value, flags); } + void property(const char *name, int16_t value, int flags = Public) { ClassBase::property(name, value, flags); } void property(const char *name, char value, int flags = Public) { ClassBase::property(name, value, flags); } void property(const char *name, const char *value, int flags = Public) { ClassBase::property(name, value, flags); } void property(const char *name, const std::string &value, int flags = Public) { ClassBase::property(name, value, flags); } |