fs/Path: rename to AllocatedPath
The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object.
This commit is contained in:
@@ -20,10 +20,10 @@
|
||||
#ifndef MPD_CONFIG_PATH_HXX
|
||||
#define MPD_CONFIG_PATH_HXX
|
||||
|
||||
class Path;
|
||||
class AllocatedPath;
|
||||
class Error;
|
||||
|
||||
Path
|
||||
AllocatedPath
|
||||
ParsePath(const char *path, Error &error);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user