From 0e0be0243bdf2fe8cbd88bd530ec7b7040b4d9da Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 1 Oct 2013 18:50:12 +0200 Subject: Daemon, Mapper: move-assign the Path objects --- src/Daemon.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Daemon.cxx') 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 -- cgit v1.2.3