From 51b29b33ed626d6ceb436353f170371f8cc4f900 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 28 Feb 2019 22:51:44 +0100 Subject: [PATCH] Empty callback is optional. --- src/plugins/host_dvfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1