Apply all the clang-tidy modernize-* fixes

This commit is contained in:
louiz’
2017-04-07 18:45:24 +02:00
parent dd4c54c6cd
commit 5402a256d1
20 changed files with 57 additions and 57 deletions
+5 -4
View File
@@ -1,3 +1,4 @@
#include <utility>
#include <utils/tolower.hpp>
#include <config/config.hpp>
#include <bridge/bridge.hpp>
@@ -7,10 +8,10 @@
constexpr char Iid::separator[];
Iid::Iid(const std::string& local, const std::string& server, Iid::Type type):
type(type),
local(local),
server(server)
Iid::Iid(std::string local, std::string server, Iid::Type type):
type(std::move(type)),
local(std::move(local)),
server(std::move(server))
{
}