Adjusted code to work with g++-4.8 as well

This commit is contained in:
rbock
2014-06-22 23:37:43 +02:00
parent d90b42f52b
commit 0b27373314
7 changed files with 6 additions and 8 deletions

View File

@@ -56,7 +56,7 @@ namespace sqlpp
}
template<typename Db>
auto _run(Db& db) const -> decltype(db.insert(_get_statement()))
auto _run(Db& db) const -> decltype(db.insert(this->_get_statement()))
{
_statement_t::_check_consistency();