clang format

This commit is contained in:
jacqueline
2023-07-12 10:36:29 +10:00
parent df22bed072
commit 23227d0986
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -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> {
+3 -1
View File
@@ -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>;