diff options
Diffstat (limited to 'src/core/common/Argument.hpp')
-rw-r--r-- | src/core/common/Argument.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/common/Argument.hpp b/src/core/common/Argument.hpp index 23078b2..78f7ec1 100644 --- a/src/core/common/Argument.hpp +++ b/src/core/common/Argument.hpp @@ -242,6 +242,8 @@ public: * case the arguments are given as a map. * @param type is the RttiType of acceptable objects. All objects where the * "isa" function returns true for the given type are be accepted. + * @param defaultValue must be set to nullptr. Default object instances + * cannot be stored. * @return a new Argument instance. */ static Argument Object(std::string name, const RttiType &type, |