diff options
Diffstat (limited to 'src/database')
| -rw-r--r-- | src/database/database.cpp | 4 | ||||
| -rw-r--r-- | src/database/include/database.hpp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/database/database.cpp b/src/database/database.cpp index d0011abe..6b682ca3 100644 --- a/src/database/database.cpp +++ b/src/database/database.cpp @@ -655,7 +655,9 @@ auto Database::ParseRecord<std::string>(const leveldb::Slice& key, return stream.str(); } -IndexRecord::IndexRecord(const IndexKey& key, std::optional<shared_string> title, std::optional<TrackId> track) +IndexRecord::IndexRecord(const IndexKey& key, + std::optional<shared_string> title, + std::optional<TrackId> track) : key_(key), override_text_(title), track_(track) {} auto IndexRecord::text() const -> std::optional<shared_string> { diff --git a/src/database/include/database.hpp b/src/database/include/database.hpp index f7e44299..dd6bd7cc 100644 --- a/src/database/include/database.hpp +++ b/src/database/include/database.hpp @@ -70,7 +70,9 @@ class Result { class IndexRecord { public: - explicit IndexRecord(const IndexKey&, std::optional<shared_string>, std::optional<TrackId>); + explicit IndexRecord(const IndexKey&, + std::optional<shared_string>, + std::optional<TrackId>); auto text() const -> std::optional<shared_string>; auto track() const -> std::optional<TrackId>; |
