From: Arnaud Giersch Date: Thu, 28 Feb 2019 21:51:44 +0000 (+0100) Subject: Empty callback is optional. X-Git-Tag: v3_22~204 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/51b29b33ed626d6ceb436353f170371f8cc4f900 Empty callback is optional. --- diff --git a/src/plugins/host_dvfs.cpp b/src/plugins/host_dvfs.cpp index 370582d4ab..2f161d138f 100644 --- a/src/plugins/host_dvfs.cpp +++ b/src/plugins/host_dvfs.cpp @@ -42,7 +42,7 @@ static simgrid::config::Flag cfg_governor("plugin/dvfs/governor", static simgrid::config::Flag cfg_min_pstate("plugin/dvfs/min-pstate", {"plugin/dvfs/min_pstate"}, - "Which pstate is the minimum (and hence fastest) pstate for this governor?", 0, [](int) {}); + "Which pstate is the minimum (and hence fastest) pstate for this governor?", 0); static const int max_pstate_not_limited = -1; static simgrid::config::Flag