From a4eed3e3302bde1fcb20a740455d400e7436ad80 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 2 Feb 2020 16:06:22 -0800 Subject: [clang-tidy] use forward instead of move Found with bugprone-move-forwarding-reference Signed-off-by: Rosen Penev --- src/lib/dbus/UDisks2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/dbus/UDisks2.cxx b/src/lib/dbus/UDisks2.cxx index d07e5aabe..0b1fefd94 100644 --- a/src/lib/dbus/UDisks2.cxx +++ b/src/lib/dbus/UDisks2.cxx @@ -167,7 +167,7 @@ ParseObjects(ODBus::ReadMessageIter &&i, ForEachInterface(std::move(i), [&callback](const char *path, auto &&j){ Object o(path); - ParseObject(o, std::move(j)); + ParseObject(o, std::forward(j)); if (o.IsValid()) callback(std::move(o)); }); -- cgit v1.2.3