diff options
Diffstat (limited to 'src/database/index.cpp')
| -rw-r--r-- | src/database/index.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/index.cpp b/src/database/index.cpp index 79939aaa..c7fd753a 100644 --- a/src/database/index.cpp +++ b/src/database/index.cpp @@ -94,7 +94,7 @@ auto Index(const IndexInfo& info, const Track& t, leveldb::WriteBatch* batch) } auto encoded = EncodeIndexKey(key); - batch->Put(encoded.slice, {value.data(), value.size()}); + batch->Put(encoded, {value.data(), value.size()}); // If there are more components after this, then we need to finish by // narrowing the header with the current title. |
