summaryrefslogtreecommitdiff
path: root/include/byval.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/byval.h')
-rw-r--r--include/byval.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/byval.h b/include/byval.h
index 40a458c..66f9b8f 100644
--- a/include/byval.h
+++ b/include/byval.h
@@ -24,8 +24,8 @@ public:
* @param type Argument type
* @param required Is this argument required?
*/
- ByVal(const char *name, Type type, bool required = true) : Argument(name, type, required, false) {}
-
+ ByVal(const char *name, Type type = Type::Null, bool required = true) : Argument(name, type, required, false) {}
+
/**
* Constructor
* @param name Name of the argument
@@ -34,7 +34,7 @@ public:
* @param required Is this argument required?
*/
ByVal(const char *name, const char *classname, bool nullable = false, bool required = true) : Argument(name, classname, nullable, required, false) {}
-
+
/**
* Copy constructor
* @param argument
@@ -46,7 +46,7 @@ public:
* @param argument
*/
ByVal(ByVal &&argument) : Argument(argument) {}
-
+
/**
* Destructor
*/