summaryrefslogtreecommitdiff
path: root/include/byval.h
diff options
context:
space:
mode:
authorToon Schoenmakers <toon.schoenmakers@copernica.com>2014-09-25 11:04:09 +0200
committerToon Schoenmakers <toon.schoenmakers@copernica.com>2014-09-25 11:04:09 +0200
commit3ddc5c9e3777fff5c17f74902bb5ddc7cdaf1eb1 (patch)
treedd6cd8934be41455576f06b79742041974559af6 /include/byval.h
parent700a574000d8f5cfdd407a0a4b634ad7fcadc54f (diff)
Made Type::Null the default type on ByVal and ByRef as this will allow any type (aka no type hinting)
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
*/