aboutsummaryrefslogtreecommitdiffstats
path: root/src/DetachedSong.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-21 21:06:46 +0100
committerMax Kellermann <max@duempel.org>2014-01-21 21:06:56 +0100
commit483b1f51c96303f2b587870cce6803cc6f699158 (patch)
tree657c2b34e785ec691c78cf589d13a103127cfe5b /src/DetachedSong.hxx
parentecac7a629eb0e407338593dd4c6cbd9d7e1bf257 (diff)
downloadmpd-483b1f51c96303f2b587870cce6803cc6f699158.tar.gz
mpd-483b1f51c96303f2b587870cce6803cc6f699158.tar.xz
mpd-483b1f51c96303f2b587870cce6803cc6f699158.zip
DetachedSong: remove parameter names from "defaulted" constructors
Suppresses gcc warnings.
Diffstat (limited to 'src/DetachedSong.hxx')
-rw-r--r--src/DetachedSong.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DetachedSong.hxx b/src/DetachedSong.hxx
index bda9012d0..3b14d5a07 100644
--- a/src/DetachedSong.hxx
+++ b/src/DetachedSong.hxx
@@ -65,7 +65,7 @@ class DetachedSong {
explicit DetachedSong(const LightSong &other);
public:
- explicit DetachedSong(const DetachedSong &other) = default;
+ explicit DetachedSong(const DetachedSong &) = default;
explicit DetachedSong(const char *_uri)
:uri(_uri),
@@ -85,7 +85,7 @@ public:
tag(std::move(_tag)),
mtime(0), start_ms(0), end_ms(0) {}
- DetachedSong(DetachedSong &&other) = default;
+ DetachedSong(DetachedSong &&) = default;
gcc_pure
const char *GetURI() const {