package daemon: FSUtils::OpenSubDirectory(): Make param const
This commit is contained in:
@@ -37,8 +37,8 @@ FSUtils::ShellEscapeString(const BString& string)
|
|||||||
|
|
||||||
|
|
||||||
/*static*/ status_t
|
/*static*/ status_t
|
||||||
FSUtils::OpenSubDirectory(BDirectory& baseDirectory, const RelativePath& path,
|
FSUtils::OpenSubDirectory(const BDirectory& baseDirectory,
|
||||||
bool create, BDirectory& _directory)
|
const RelativePath& path, bool create, BDirectory& _directory)
|
||||||
{
|
{
|
||||||
// get a string for the path
|
// get a string for the path
|
||||||
BString pathString = path.ToString();
|
BString pathString = path.ToString();
|
||||||
|
|||||||
@@ -197,7 +197,8 @@ public:
|
|||||||
static BString ShellEscapeString(const BString& string);
|
static BString ShellEscapeString(const BString& string);
|
||||||
// throw std::bad_alloc
|
// throw std::bad_alloc
|
||||||
|
|
||||||
static status_t OpenSubDirectory(BDirectory& baseDirectory,
|
static status_t OpenSubDirectory(
|
||||||
|
const BDirectory& baseDirectory,
|
||||||
const RelativePath& path, bool create,
|
const RelativePath& path, bool create,
|
||||||
BDirectory& _directory);
|
BDirectory& _directory);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user