diff --git a/examples/madness/mra-device/mrattg-device.cc b/examples/madness/mra-device/mrattg-device.cc index a62fe844e..75d406d2a 100644 --- a/examples/madness/mra-device/mrattg-device.cc +++ b/examples/madness/mra-device/mrattg-device.cc @@ -338,7 +338,7 @@ auto make_reconstruct( static std::mutex printer_guard; template auto make_printer(const ttg::Edge& in, const char* str = "", const bool doprint=true) { - auto func = [str,doprint](const keyT& key, auto& value, auto& out) { + auto func = [str,doprint](const keyT& key, const auto& value, auto& out) { if (doprint) { std::lock_guard obolus(printer_guard); std::cout << str << " (" << key << "," << value << ")" << std::endl;