summaryrefslogtreecommitdiff
path: root/src/database/type_to_sql.cpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-06-14 10:31:45 +0200
committerlouiz’ <louiz@louiz.org>2017-06-14 10:46:44 +0200
commit2677ac42e8d2e1cf162fec773a9acb453bef8b9b (patch)
tree4b51bece4f4dec660e0c48297404a5da51aee4ec /src/database/type_to_sql.cpp
parentdac19da4c791a6c16cde09e61841fd7f6b6268d2 (diff)
downloadbiboumi-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/type_to_sql.cpp')
-rw-r--r--src/database/type_to_sql.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database/type_to_sql.cpp b/src/database/type_to_sql.cpp
index 5de012e..0b26185 100644
--- a/src/database/type_to_sql.cpp
+++ b/src/database/type_to_sql.cpp
@@ -3,5 +3,6 @@
template <> const std::string TypeToSQLType<int>::type = "INTEGER";
template <> const std::string TypeToSQLType<std::size_t>::type = "INTEGER";
template <> const std::string TypeToSQLType<long>::type = "INTEGER";
+template <> const std::string TypeToSQLType<long long>::type = "INTEGER";
template <> const std::string TypeToSQLType<bool>::type = "INTEGER";
template <> const std::string TypeToSQLType<std::string>::type = "TEXT";