From: Arnaud Giersch Date: Tue, 5 Mar 2019 12:22:08 +0000 (+0100) Subject: Field is initialized by constructor. X-Git-Tag: v3_22~177 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3e86cd7e62ac9c8915bf7bb878dd1b4d9d8943ef Field is initialized by constructor. --- diff --git a/include/simgrid/kernel/resource/Resource.hpp b/include/simgrid/kernel/resource/Resource.hpp index ced454389a..2ab078fe6f 100644 --- a/include/simgrid/kernel/resource/Resource.hpp +++ b/include/simgrid/kernel/resource/Resource.hpp @@ -81,7 +81,7 @@ public: /* LMM */ lmm::Constraint* get_constraint() const; private: - kernel::lmm::Constraint* const constraint_ = nullptr; + kernel::lmm::Constraint* const constraint_; public: profile::Event* state_event_ = nullptr;