From 3e86cd7e62ac9c8915bf7bb878dd1b4d9d8943ef Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 5 Mar 2019 13:22:08 +0100 Subject: [PATCH] Field is initialized by constructor. --- include/simgrid/kernel/resource/Resource.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1