From 39c96694454822ade1d3a686f6e29bd52fa5a4d1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Mar 2015 08:02:07 +0100 Subject: fs/Traits: add macro PATH_LITERAL() --- src/fs/FileSystem.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fs/FileSystem.hxx') 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"); } /** -- cgit v1.2.3