From 6d2a5e6ac172063ba94698d11439df096923bc70 Mon Sep 17 00:00:00 2001 From: rbock Date: Sat, 22 Nov 2014 11:09:24 +0100 Subject: [PATCH] Removed implementation of unwanted dispatch code --- tests/MockDb.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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))