aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler/scrobblercache.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-10-29 16:45:19 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-10-29 16:45:19 +0000
commit9597e224068505196d6802f05edc6d182a69cd4b (patch)
tree36fde9e2a7ce9a8bb903ee2c3fb7e73dd4a744fe /src/plugins/General/scrobbler/scrobblercache.cpp
parentd6d77d7629e743b0de89c5f5afbaec6e3e16b7fa (diff)
downloadqmmp-9597e224068505196d6802f05edc6d182a69cd4b.tar.gz
qmmp-9597e224068505196d6802f05edc6d182a69cd4b.tar.bz2
qmmp-9597e224068505196d6802f05edc6d182a69cd4b.zip
some optimizations
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6815 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/scrobbler/scrobblercache.cpp')
-rw-r--r--src/plugins/General/scrobbler/scrobblercache.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/General/scrobbler/scrobblercache.cpp b/src/plugins/General/scrobbler/scrobblercache.cpp
index 054b6ba75..0144aefa2 100644
--- a/src/plugins/General/scrobbler/scrobblercache.cpp
+++ b/src/plugins/General/scrobbler/scrobblercache.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2013 by Ilya Kotov *
+ * Copyright (C) 2013-2016 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -42,11 +42,12 @@ SongInfo::SongInfo(const SongInfo &other)
SongInfo::~SongInfo()
{}
-void SongInfo::operator=(const SongInfo &info)
+SongInfo & SongInfo::operator=(const SongInfo &info)
{
m_metadata = info.metaData();
m_length = info.length();
m_start_ts = info.timeStamp();
+ return *this;
}
bool SongInfo::operator==(const SongInfo &info)