fs/Path: move definitions to struct PathTraits

This commit is contained in:
Max Kellermann
2013-10-17 23:23:25 +02:00
parent a63613dba0
commit b3611524f4
18 changed files with 155 additions and 106 deletions

View File

@@ -32,6 +32,7 @@
#include "PlaylistRegistry.hxx"
#include "PlaylistPlugin.hxx"
#include "fs/Path.hxx"
#include "fs/Traits.hxx"
#include "fs/FileSystem.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
@@ -136,7 +137,7 @@ static const char *summary =
gcc_pure
static Path
PathBuildChecked(const Path &a, Path::const_pointer b)
PathBuildChecked(const Path &a, PathTraits::const_pointer b)
{
if (a.IsNull())
return Path::Null();