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
@@ -20,7 +20,7 @@ update_id(std::tuple<T...>& columns, sqlite3* db)
log_debug("Found an autoincrement col.");
auto res = sqlite3_last_insert_rowid(db);
log_debug("Value is now: ", res);
column.value = res;
column.value = static_cast<Id::real_type>(res);
}
template <std::size_t N, typename... T>