/******************************************************************************
* Icinga 2 *
- * Copyright (C) 2012-2017 Icinga Development Team (https://www.icinga.com/) *
+ * Copyright (C) 2012-2018 Icinga Development Team (https://www.icinga.com/) *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
using namespace icinga;
-MaxAggregator::MaxAggregator(const String& attr)
- : m_MaxAttr(attr)
+MaxAggregator::MaxAggregator(String attr)
+ : m_MaxAttr(std::move(attr))
{ }
MaxAggregatorState *MaxAggregator::EnsureState(AggregatorState **state)