diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgB.cxx b/Control/AthenaExamples/AthExHive/src/HiveAlgB.cxx index 9be9772db432ed85160559c7641f805bc44af95e..982196a79e56071674a6e669e3abef3aa830de8e 100644 --- a/Control/AthenaExamples/AthExHive/src/HiveAlgB.cxx +++ b/Control/AthenaExamples/AthExHive/src/HiveAlgB.cxx @@ -72,7 +72,7 @@ HiveAlgB::dump() { std::ostringstream ost; - m_di.for_all([this, &ost] (size_t s, const int i) + m_di.for_all([&ost] (size_t s, const int i) { ost << " s: " << s << " v: " << i << std::endl; } ); ATH_MSG_INFO("dumping m_di: \n" << ost.str());