X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/84402e8e2ee2a2d0bef25fdceb0a263ed8b471f6..4b0fa756ae6e58a74c374a519389ecb9e8b6a4d9:/include/xbt/file.hpp diff --git a/include/xbt/file.hpp b/include/xbt/file.hpp index e98178f7f8..b12800f8a8 100644 --- a/include/xbt/file.hpp +++ b/include/xbt/file.hpp @@ -24,9 +24,9 @@ public: /** @brief Returns the full path name */ const std::string& get_name() const { return path_; } /** @brief Returns the directory component of a path (reimplementation of POSIX dirname) */ - std::string get_dir_name(); + std::string get_dir_name() const; /** @brief Returns the file component of a path (reimplementation of POSIX basename) */ - std::string get_base_name(); + std::string get_base_name() const; private: std::string path_;