diff --git a/tests/MockDb.h b/tests/MockDb.h index 6b929cfe..cba48a83 100644 --- a/tests/MockDb.h +++ b/tests/MockDb.h @@ -113,10 +113,7 @@ struct MockDbT: public sqlpp::connection } template - auto _run(const T& t, const std::false_type&) -> decltype(t._run(*this)) - { - return decltype(t._run(*this)){}; - } + auto _run(const T& t, const std::false_type&) -> decltype(t._run(*this)); template auto operator() (const T& t) -> decltype(t._run(*this))