diff options
author | Max Kellermann <max@duempel.org> | 2015-03-05 08:02:07 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-03-05 08:58:04 +0100 |
commit | 39c96694454822ade1d3a686f6e29bd52fa5a4d1 (patch) | |
tree | c4a9c64a84c09caa9d0d8057a5a71be53536dcb7 /src/db | |
parent | 44565e22a054b9bdeb48e79e1d23f914b7efaa0f (diff) | |
download | mpd-39c96694454822ade1d3a686f6e29bd52fa5a4d1.tar.gz mpd-39c96694454822ade1d3a686f6e29bd52fa5a4d1.tar.xz mpd-39c96694454822ade1d3a686f6e29bd52fa5a4d1.zip |
fs/Traits: add macro PATH_LITERAL()
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/Configured.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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; |