diff options
Diffstat (limited to 'src/tangara/database/index.cpp')
| -rw-r--r-- | src/tangara/database/index.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/tangara/database/index.cpp b/src/tangara/database/index.cpp index 328c3b43..93a2b1c2 100644 --- a/src/tangara/database/index.cpp +++ b/src/tangara/database/index.cpp @@ -4,7 +4,7 @@ * SPDX-License-Identifier: GPL-3.0-only */ -#include "index.hpp" +#include "database/index.hpp" #include <sys/_stdint.h> #include <cstdint> @@ -21,8 +21,8 @@ #include "komihash.h" #include "leveldb/write_batch.h" -#include "records.hpp" -#include "track.hpp" +#include "database/records.hpp" +#include "database/track.hpp" namespace database { @@ -183,8 +183,9 @@ auto Indexer::handleItem(const IndexKey::Header& header, } } -auto Index(locale::ICollator& c, const IndexInfo& i, const Track& t) - -> std::vector<std::pair<IndexKey, std::string>> { +auto Index(locale::ICollator& c, + const IndexInfo& i, + const Track& t) -> std::vector<std::pair<IndexKey, std::string>> { Indexer indexer{c, t, i}; return indexer.index(); } |
