Repository: mesos Updated Branches: refs/heads/master 5aaaa4e4b -> 3eb17f6cc
Marked Path::basename and Path::dirname as being const. Review: https://reviews.apache.org/r/36914 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3eb17f6c Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3eb17f6c Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/3eb17f6c Branch: refs/heads/master Commit: 3eb17f6ccd20c086e54e11d00f757c1f8f8ab0b3 Parents: 5aaaa4e Author: Jan Schlicht <[email protected]> Authored: Wed Jul 29 17:56:11 2015 +0200 Committer: Till Toenshoff <[email protected]> Committed: Wed Jul 29 17:56:11 2015 +0200 ---------------------------------------------------------------------- 3rdparty/libprocess/3rdparty/stout/include/stout/path.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/3eb17f6c/3rdparty/libprocess/3rdparty/stout/include/stout/path.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/path.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/path.hpp index d58f8a4..5af9be8 100644 --- a/3rdparty/libprocess/3rdparty/stout/include/stout/path.hpp +++ b/3rdparty/libprocess/3rdparty/stout/include/stout/path.hpp @@ -56,7 +56,7 @@ public: * string "/", then this returns the string "/". If Path is an * empty string, then it returns the string ".". */ - inline std::string basename() + inline std::string basename() const { if (value.empty()) { return std::string("."); @@ -110,7 +110,7 @@ public: * If Path is the string "/", then this returns the string "/". * If Path is an empty string, then this returns the string ".". */ - inline std::string dirname() + inline std::string dirname() const { if (value.empty()) { return std::string(".");
