diff --git a/Hazelnupp.vpp b/Hazelnupp.vpp index ea05030..c1c3bc5 100644 Binary files a/Hazelnupp.vpp and b/Hazelnupp.vpp differ diff --git a/Hazelnupp/ParamConstraint.h b/Hazelnupp/ParamConstraint.h index 7ff15fe..bde0c13 100644 --- a/Hazelnupp/ParamConstraint.h +++ b/Hazelnupp/ParamConstraint.h @@ -6,6 +6,18 @@ struct ParamConstraint { public: + ParamConstraint() = default; + ParamConstraint(const std::string& key, bool constrainType, DATA_TYPE wantedType, const std::vector& defaultValue, bool required) + : + key { key }, + constrainType { constrainType }, + wantedType { wantedType }, + defaultValue { defaultValue }, + required{ required } + { + return; + } + //! The key of the parameter to constrain std::string key;