aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Traits.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fs/Traits.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fs/Traits.hxx b/src/fs/Traits.hxx
index 1b5e1e6f8..f00765570 100644
--- a/src/fs/Traits.hxx
+++ b/src/fs/Traits.hxx
@@ -47,6 +47,8 @@ struct PathTraitsFS {
static constexpr value_type SEPARATOR = '/';
#endif
+ static constexpr const_pointer CURRENT_DIRECTORY = ".";
+
static constexpr bool IsSeparator(value_type ch) {
return
#ifdef WIN32
@@ -149,6 +151,8 @@ struct PathTraitsUTF8 {
static constexpr value_type SEPARATOR = '/';
+ static constexpr const_pointer CURRENT_DIRECTORY = ".";
+
static constexpr bool IsSeparator(value_type ch) {
return ch == SEPARATOR;
}