From 483b1f51c96303f2b587870cce6803cc6f699158 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 21 Jan 2014 21:06:46 +0100 Subject: [PATCH] DetachedSong: remove parameter names from "defaulted" constructors Suppresses gcc warnings. --- src/DetachedSong.hxx | 4 ++-- 1 file 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 {