diff options
author | louiz’ <louiz@louiz.org> | 2017-06-14 10:31:45 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-06-14 10:46:44 +0200 |
commit | 2677ac42e8d2e1cf162fec773a9acb453bef8b9b (patch) | |
tree | 4b51bece4f4dec660e0c48297404a5da51aee4ec /src/database/database.hpp | |
parent | dac19da4c791a6c16cde09e61841fd7f6b6268d2 (diff) | |
download | biboumi-2677ac42e8d2e1cf162fec773a9acb453bef8b9b.tar.gz biboumi-2677ac42e8d2e1cf162fec773a9acb453bef8b9b.tar.bz2 biboumi-2677ac42e8d2e1cf162fec773a9acb453bef8b9b.tar.xz biboumi-2677ac42e8d2e1cf162fec773a9acb453bef8b9b.zip |
Fix compilation (many warnings, and a linkage error) with clang++
Diffstat (limited to 'src/database/database.hpp')
-rw-r--r-- | src/database/database.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/database.hpp b/src/database/database.hpp index 3a99867..1ad62fc 100644 --- a/src/database/database.hpp +++ b/src/database/database.hpp @@ -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); |