File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ namespace sqlite {
407407 }
408408
409409 template <typename Function>
410- void define (const STR_REF &name, Function&& func) {
410+ void define (const std::string &name, Function&& func) {
411411 typedef utility::function_traits<Function> traits;
412412
413413 auto funcPtr = new auto (std::forward<Function>(func));
@@ -421,7 +421,7 @@ namespace sqlite {
421421 }
422422
423423 template <typename StepFunction, typename FinalFunction>
424- void define (const STR_REF &name, StepFunction&& step, FinalFunction&& final ) {
424+ void define (const std::string &name, StepFunction&& step, FinalFunction&& final ) {
425425 typedef utility::function_traits<StepFunction> traits;
426426 using ContextType = typename std::remove_reference<typename traits::template argument<0 >>::type;
427427
You can’t perform that action at this time.
0 commit comments