You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2020/01/07 13:29:34 UTC
[mesos] 07/07: Added deprecated absolute() function for backwards
compatibility.
This is an automated email from the ASF dual-hosted git repository.
bennoe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 0e8b96ce90980e47adff9ecc5d7b1d31a688727b
Author: Benno Evers <be...@mesosphere.com>
AuthorDate: Tue Jan 7 13:31:16 2020 +0100
Added deprecated absolute() function for backwards compatibility.
Review: https://reviews.apache.org/r/71961/
---
3rdparty/stout/include/stout/path.hpp | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/3rdparty/stout/include/stout/path.hpp b/3rdparty/stout/include/stout/path.hpp
index 14a0d4e..d8b6a8b 100644
--- a/3rdparty/stout/include/stout/path.hpp
+++ b/3rdparty/stout/include/stout/path.hpp
@@ -19,6 +19,7 @@
#include <glog/logging.h>
+#include <stout/attributes.hpp>
#include <stout/stringify.hpp>
#include <stout/strings.hpp>
@@ -194,6 +195,11 @@ inline bool is_absolute(const std::string& path)
#endif // __WINDOWS__
}
+STOUT_DEPRECATED inline bool absolute(const std::string& path)
+{
+ return is_absolute(path);
+}
+
} // namespace path {