[osmium-tool] 54/97: Remove superfluous std::move().

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Tue Jul 21 20:15:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to tag v1.0.0
in repository osmium-tool.

commit ab1b70e92f15274da92ffee1d2eab0385757b0df
Author: Jochen Topf <jochen at topf.org>
Date:   Thu Dec 18 17:32:28 2014 +0100

    Remove superfluous std::move().
---
 src/osmc.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/osmc.hpp b/src/osmc.hpp
index a76cca9..838437e 100644
--- a/src/osmc.hpp
+++ b/src/osmc.hpp
@@ -105,7 +105,7 @@ public:
         for (const auto& cmd : instance().m_commands) {
             commands.push_back(std::make_pair(cmd.first, cmd.second.description));
         }
-        return std::move(commands);
+        return commands;
     }
 
     static bool add(const std::string& name, const std::string& description, create_command_type create_function) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmium-tool.git



More information about the Pkg-grass-devel mailing list