Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
align file position to the C++ namespaces
[simgrid.git] / include / xbt / config.hpp
index 8df3f1ee087729f6d28c18d4a672f30067326d3c..ebcdd6512f287817d9c60ec32ecdbbe89897da23 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2016-2019. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -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_; }