DetachedSong: un-inline the destructor

Reduce bloat.
This commit is contained in:
Max Kellermann
2014-01-23 21:21:27 +01:00
parent f3f5e2e162
commit 53a13e8bc6
3 changed files with 10 additions and 0 deletions

View File

@@ -30,6 +30,11 @@ DetachedSong::DetachedSong(const LightSong &other)
mtime(other.mtime),
start_ms(other.start_ms), end_ms(other.end_ms) {}
DetachedSong::~DetachedSong()
{
/* this destructor exists here just so it won't get inlined */
}
bool
DetachedSong::IsRemote() const
{

View File

@@ -97,6 +97,8 @@ public:
DetachedSong(DetachedSong &&) = default;
~DetachedSong();
gcc_pure
const char *GetURI() const {
return uri.c_str();