X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f222c4a646c839d44049ae7fa0c4974ccbf96976..cf0ebedfe4a6fd8a14784135e912725b7e027d6f:/include/xbt/config.hpp diff --git a/include/xbt/config.hpp b/include/xbt/config.hpp index 8df3f1ee08..270ee125f4 100644 --- a/include/xbt/config.hpp +++ b/include/xbt/config.hpp @@ -278,7 +278,7 @@ public: T& get() { return value_; } T const& get() const { return value_; } - std::string get_name() { return name_; } + std::string get_name() const { return name_; } // Implicit conversion to the underlying type: operator T&() { return value_; } operator T const&() const{ return value_; }