aboutsummaryrefslogtreecommitdiffstats
path: root/src/Daemon.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-01 18:50:12 +0200
committerMax Kellermann <max@duempel.org>2013-10-01 18:50:18 +0200
commit0e0be0243bdf2fe8cbd88bd530ec7b7040b4d9da (patch)
tree9de2b3dd6ea86cc3e114a7037c50eccb7e5411d3 /src/Daemon.cxx
parenta2ce2447a68ca25ad72aed7aaf4ea85183c5de88 (diff)
downloadmpd-0e0be0243bdf2fe8cbd88bd530ec7b7040b4d9da.tar.gz
mpd-0e0be0243bdf2fe8cbd88bd530ec7b7040b4d9da.tar.xz
mpd-0e0be0243bdf2fe8cbd88bd530ec7b7040b4d9da.zip
Daemon, Mapper: move-assign the Path objects
Diffstat (limited to 'src/Daemon.cxx')
-rw-r--r--src/Daemon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Daemon.cxx b/src/Daemon.cxx
index 6b4e398fa..5599926ad 100644
--- a/src/Daemon.cxx
+++ b/src/Daemon.cxx
@@ -226,7 +226,7 @@ daemonize_init(const char *user, const char *group, Path &&_pidfile)
}
- pidfile = _pidfile;
+ pidfile = std::move(_pidfile);
}
void