From: Arnaud Giersch Date: Thu, 12 Apr 2018 21:03:47 +0000 (+0200) Subject: Make protected field const (sonar). X-Git-Tag: v3.20~435 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/950bda8fadcd13ee3bc9c33e758b6419a0bbea7a Make protected field const (sonar). --- diff --git a/src/surf/plugins/host_dvfs.cpp b/src/surf/plugins/host_dvfs.cpp index 9dac3372ee..3daf923bcb 100644 --- a/src/surf/plugins/host_dvfs.cpp +++ b/src/surf/plugins/host_dvfs.cpp @@ -28,7 +28,7 @@ namespace dvfs { class Governor { protected: - simgrid::s4u::Host* host; + simgrid::s4u::Host* const host; public: double sampling_rate;