aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/FileSystem.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-05 08:02:07 +0100
committerMax Kellermann <max@duempel.org>2015-03-05 08:58:04 +0100
commit39c96694454822ade1d3a686f6e29bd52fa5a4d1 (patch)
treec4a9c64a84c09caa9d0d8057a5a71be53536dcb7 /src/fs/FileSystem.hxx
parent44565e22a054b9bdeb48e79e1d23f914b7efaa0f (diff)
downloadmpd-39c96694454822ade1d3a686f6e29bd52fa5a4d1.tar.gz
mpd-39c96694454822ade1d3a686f6e29bd52fa5a4d1.tar.xz
mpd-39c96694454822ade1d3a686f6e29bd52fa5a4d1.zip
fs/Traits: add macro PATH_LITERAL()
Diffstat (limited to 'src/fs/FileSystem.hxx')
-rw-r--r--src/fs/FileSystem.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/FileSystem.hxx b/src/fs/FileSystem.hxx
index dcaca7c34..ac4e0998d 100644
--- a/src/fs/FileSystem.hxx
+++ b/src/fs/FileSystem.hxx
@@ -41,12 +41,12 @@ namespace FOpenMode {
/**
* Open mode for writing text files.
*/
- constexpr PathTraitsFS::const_pointer WriteText = "w";
+ constexpr PathTraitsFS::const_pointer WriteText = PATH_LITERAL("w");
/**
* Open mode for appending text files.
*/
- constexpr PathTraitsFS::const_pointer AppendText = "a";
+ constexpr PathTraitsFS::const_pointer AppendText = PATH_LITERAL("a");
}
/**