0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Removed implementation of unwanted dispatch code

This commit is contained in:
rbock 2014-11-22 11:09:24 +01:00
parent f294a876d4
commit 6d2a5e6ac1

View File

@ -113,10 +113,7 @@ struct MockDbT: public sqlpp::connection
} }
template<typename T> template<typename T>
auto _run(const T& t, const std::false_type&) -> decltype(t._run(*this)) auto _run(const T& t, const std::false_type&) -> decltype(t._run(*this));
{
return decltype(t._run(*this)){};
}
template<typename T> template<typename T>
auto operator() (const T& t) -> decltype(t._run(*this)) auto operator() (const T& t) -> decltype(t._run(*this))