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/db/Configured.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/db') diff --git a/src/db/Configured.cxx b/src/db/Configured.cxx index 5d95b3e70..c71195769 100644 --- a/src/db/Configured.cxx +++ b/src/db/Configured.cxx @@ -59,7 +59,8 @@ CreateConfiguredDatabase(EventLoop &loop, DatabaseListener &listener, if (cache_dir.IsNull()) return nullptr; - const auto db_file = AllocatedPath::Build(cache_dir, "mpd.db"); + const auto db_file = AllocatedPath::Build(cache_dir, + PATH_LITERAL("mpd.db")); const auto db_file_utf8 = db_file.ToUTF8(); if (db_file_utf8.empty()) return nullptr; -- cgit v1.2.3