summaryrefslogtreecommitdiff
path: root/src/CommandLine.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-07-17 17:01:02 +0200
committerMax Kellermann <max@musicpd.org>2018-07-17 18:33:32 +0200
commit99d5b616981107f0cb32f9bcc9e29ff92855c78a (patch)
tree5fbc013510b82fc932d4045ede572774a04edd84 /src/CommandLine.cxx
parent79e89eb23b554248e4b86631109ae551df6c8d48 (diff)
fs/Path: add operator/(Path,Path)
Modeled after std::filesystem::operator/() from C++17.
Diffstat (limited to 'src/CommandLine.cxx')
-rw-r--r--src/CommandLine.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CommandLine.cxx b/src/CommandLine.cxx
index ecfae241e..f1d6d0020 100644
--- a/src/CommandLine.cxx
+++ b/src/CommandLine.cxx
@@ -310,7 +310,7 @@ bool ConfigLoader::TryFile(const AllocatedPath &base_path, Path path)
{
if (base_path.IsNull())
return false;
- auto full_path = AllocatedPath::Build(base_path, path);
+ auto full_path = base_path / path;
return TryFile(full_path);
}