summaryrefslogtreecommitdiff
path: root/src/database/include/index.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/include/index.hpp')
-rw-r--r--src/database/include/index.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/database/include/index.hpp b/src/database/include/index.hpp
index 13de952d..15b21ee8 100644
--- a/src/database/include/index.hpp
+++ b/src/database/include/index.hpp
@@ -13,6 +13,7 @@
#include <variant>
#include <vector>
+#include "collation.hpp"
#include "leveldb/db.h"
#include "leveldb/slice.h"
@@ -60,7 +61,7 @@ struct IndexKey {
std::optional<TrackId> track;
};
-auto Index(const IndexInfo&, const Track&)
+auto Index(locale::ICollator&, const IndexInfo&, const Track&)
-> std::vector<std::pair<IndexKey, std::pmr::string>>;
auto ExpandHeader(const IndexKey::Header&,