@@ -31,7 +31,7 @@ class FunctionFactory : private boost::noncopyable, public IFactoryWithAliases<F
3131 static FunctionFactory & instance ();
3232
3333 template <typename Function>
34- void registerFunction (FunctionDocumentation doc = {} , Case case_sensitiveness = Case::Sensitive)
34+ void registerFunction (FunctionDocumentation doc, Case case_sensitiveness = Case::Sensitive)
3535 {
3636 registerFunction<Function>(Function::name, std::move (doc), case_sensitiveness);
3737 }
@@ -56,13 +56,13 @@ class FunctionFactory : private boost::noncopyable, public IFactoryWithAliases<F
5656 void registerFunction (
5757 const std::string & name,
5858 FunctionCreator creator,
59- FunctionDocumentation doc = {} ,
59+ FunctionDocumentation doc,
6060 Case case_sensitiveness = Case::Sensitive);
6161
6262 void registerFunction (
6363 const std::string & name,
6464 FunctionSimpleCreator creator,
65- FunctionDocumentation doc = {} ,
65+ FunctionDocumentation doc,
6666 Case case_sensitiveness = Case::Sensitive);
6767
6868 FunctionDocumentation getDocumentation (const std::string & name) const ;
@@ -80,7 +80,7 @@ class FunctionFactory : private boost::noncopyable, public IFactoryWithAliases<F
8080 String getFactoryName () const override { return " FunctionFactory" ; }
8181
8282 template <typename Function>
83- void registerFunction (const std::string & name, FunctionDocumentation doc = {} , Case case_sensitiveness = Case::Sensitive)
83+ void registerFunction (const std::string & name, FunctionDocumentation doc, Case case_sensitiveness = Case::Sensitive)
8484 {
8585 registerFunction (name, &Function::create, std::move (doc), case_sensitiveness);
8686 }
0 commit comments