fs/Traits: add macro PATH_LITERAL()

This commit is contained in:
Max Kellermann
2015-03-05 08:02:07 +01:00
parent 44565e22a0
commit 39c9669445
9 changed files with 18 additions and 14 deletions

View File

@@ -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");
}
/**