Fix compilation (many warnings, and a linkage error) with clang++

This commit is contained in:
louiz’
2017-06-14 10:46:44 +02:00
parent dac19da4c7
commit 2677ac42e8
7 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ class Database
static void open(const std::string& filename);
template <typename TableType>
static std::size_t count(const TableType& table)
static int64_t count(const TableType& table)
{
CountQuery query{table.get_name()};
return query.execute(Database::db);