mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 14:14:45 +02:00
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…
x
Reference in New Issue
Block a user