stats: add missing template required by clang-11

This commit is contained in:
Tommaso Pecorella
2020-03-10 16:41:21 +00:00
parent a41a60d9c8
commit 57aabffff0

View File

@@ -173,6 +173,17 @@ SQLiteOutput::Bind (sqlite3_stmt *stmt, int pos, const long &value) const
return false;
}
template<>
bool
SQLiteOutput::Bind (sqlite3_stmt *stmt, int pos, const long long &value) const
{
if (sqlite3_bind_int64 (stmt, pos, value) == SQLITE_OK)
{
return true;
}
return false;
}
template<>
bool
SQLiteOutput::Bind (sqlite3_stmt *stmt, int pos, const uint16_t &value) const