RedisWriter#GetTypeObjectKeys(): move() the result

This commit is contained in:
Alexander A. Klimov 2019-06-27 15:00:59 +02:00 committed by Michael Friedrich
parent 13295acb72
commit 7d0fc91c1b
1 changed files with 2 additions and 1 deletions

View File

@ -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>