mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
RedisWriter#GetTypeObjectKeys(): move() the result
This commit is contained in:
parent
13295acb72
commit
7d0fc91c1b
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue