Added -Wshadow and un-inlined namespace alias

Not sure if inlining alias was a good idea to begin with...
This commit is contained in:
rbock
2015-03-08 20:19:01 +01:00
parent 47150e1fdb
commit 21621f81c8
5 changed files with 29 additions and 29 deletions

View File

@@ -39,7 +39,7 @@ MockDb::_serializer_context_t printer;
template<typename Column>
int64_t getColumn(const Column& column)
{
auto result = db(select(column.as(sqlpp::a)).from(column.table()).where(true));
auto result = db(select(column.as(sqlpp::alias::a)).from(column.table()).where(true));
if (not result.empty())
return result.front().a;
else