mirror of https://github.com/Icinga/icinga2.git
RedisWriter#GetTypeObjectKeys(): move() the result
This commit is contained in:
parent
13295acb72
commit
7d0fc91c1b
|
@ -45,6 +45,7 @@
|
|||
#include "base/exception.hpp"
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <utility>
|
||||
|
||||
using namespace icinga;
|
||||
|
||||
|
@ -297,7 +298,7 @@ std::vector<String> RedisWriter::GetTypeObjectKeys(const String& type)
|
|||
keys.emplace_back(m_PrefixConfigCheckSum + type + ":argument");
|
||||
}
|
||||
|
||||
return keys;
|
||||
return std::move(keys);
|
||||
}
|
||||
|
||||
template<typename ConfigType>
|
||||
|
|
Loading…
Reference in New Issue