From db69ceade64c1e1a9c3d7a7c634f8b8b05ce73b9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 4 Feb 2014 00:38:52 +0100 Subject: db/LightSong: make "real_uri" a pointer Reduce overhead. LightSong can always point to the "real" allocated string. --- src/db/Song.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/db/Song.cxx') diff --git a/src/db/Song.cxx b/src/db/Song.cxx index 15924a40a..1c3fa0b64 100644 --- a/src/db/Song.cxx +++ b/src/db/Song.cxx @@ -102,6 +102,7 @@ Song::Export() const dest.directory = parent->IsRoot() ? nullptr : parent->GetPath(); dest.uri = uri; + dest.real_uri = nullptr; dest.tag = &tag; dest.mtime = mtime; dest.start_ms = start_ms; -- cgit v1.2.3