diff --git a/src/libs/sqlite/sqliteids.h b/src/libs/sqlite/sqliteids.h index 6296f84718a..2309bd58e5a 100644 --- a/src/libs/sqlite/sqliteids.h +++ b/src/libs/sqlite/sqliteids.h @@ -78,3 +78,14 @@ auto toIntegers(const Container &container) } } // namespace Sqlite + +namespace std { +template +struct hash> +{ + auto operator()(const Sqlite::BasicId &id) const + { + return std::hash(id.internalId()); + } +}; +} // namespace std