}
const auto array = match_value->getValue().get<picojson::array>();
- for (const auto value : array) {
+ for (const auto& value : array) {
if (!value.is<std::string>()) {
LoggerE("AttributeFilter value for TO attribute must be an array of strings.");
return false;