From 10eb120878e01579bff2fdfab7bef59639b21155 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 9 May 2023 13:50:04 +1000 Subject: Add tests for record encoding --- src/database/include/song.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/database/include') diff --git a/src/database/include/song.hpp b/src/database/include/song.hpp index 79b2160a..12a7ef0c 100644 --- a/src/database/include/song.hpp +++ b/src/database/include/song.hpp @@ -59,6 +59,8 @@ class SongData { auto UpdateHash(uint64_t new_hash) const -> SongData; auto Entomb() const -> SongData; auto Exhume(const std::string& new_path) const -> SongData; + + bool operator==(const SongData&) const = default; }; class Song { -- cgit v1.2.3