diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-07-12 10:36:29 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-07-12 10:36:29 +1000 |
| commit | 23227d0986a6eca251a76f5c0c215507b0bcc215 (patch) | |
| tree | 58d4bc47ed4c60866259905e4760e1f8d4732717 /src/database | |
| parent | df22bed0724b3a0d04c9fefd0f5bb130945a6b4e (diff) | |
| download | tangara-fw-23227d0986a6eca251a76f5c0c215507b0bcc215.tar.gz | |
clang format
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>; |
