From 4f8c127da926bc1e1724e7686a42d37c1da0f563 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 24 Oct 2023 12:50:03 +1100 Subject: Use an mutable struct + const instead of an immutable class --- src/database/index.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/database/index.cpp') diff --git a/src/database/index.cpp b/src/database/index.cpp index c7fd753a..4d1f7b06 100644 --- a/src/database/index.cpp +++ b/src/database/index.cpp @@ -89,7 +89,7 @@ auto Index(const IndexInfo& info, const Track& t, leveldb::WriteBatch* batch) // If this is the last component, then we should also fill in the track id // and title. if (i == info.components.size() - 1) { - key.track = t.data().id(); + key.track = t.data().id; value = t.TitleOrFilename(); } -- cgit v1.2.3