From: Adrien Gougeon Date: Thu, 2 Nov 2023 17:37:50 +0000 (+0100) Subject: missing static keyword X-Git-Tag: v3.35~89^2~23 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/32e1a75e59e8437be5a940e1aee5c0408893f2b4 missing static keyword --- diff --git a/examples/cpp/chiller-simple/s4u-chiller-simple.cpp b/examples/cpp/chiller-simple/s4u-chiller-simple.cpp index 915c8a1f64..db48b653e7 100644 --- a/examples/cpp/chiller-simple/s4u-chiller-simple.cpp +++ b/examples/cpp/chiller-simple/s4u-chiller-simple.cpp @@ -10,7 +10,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(chiller_simple, "Messages specific for this s4u example"); namespace sg4 = simgrid::s4u; -void display_chiller(simgrid::plugins::ChillerPtr c) +static void display_chiller(simgrid::plugins::ChillerPtr c) { XBT_INFO("%s: Power: %.2fW T_in: %.2f°C Energy consumed: %.2fJ", c->get_cname(), c->get_power(), c->get_temp_in(), c->get_energy_consumed());