diff --git a/extras/Hadrons/Application.cc b/extras/Hadrons/Application.cc index 62674f30..90ebcfd7 100644 --- a/extras/Hadrons/Application.cc +++ b/extras/Hadrons/Application.cc @@ -162,7 +162,8 @@ void Application::saveParameterFile(const std::string parameterFileName) sizeString((size)*locVol_) << " (" << sizeString(size) << "/site)" #define DEFINE_MEMPEAK \ -auto memPeak = [this](const std::vector &program)\ +GeneticScheduler::ObjFunc memPeak = \ +[this](const std::vector &program)\ {\ unsigned int memPeak;\ bool msg;\