mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
CFileHelpers: declare removeDir() as static
allows use without object
This commit is contained in:
@@ -90,7 +90,7 @@ class CFileHelpers
|
||||
bool copyDir(const char *Src, const char *Dst, bool backupMode=false);
|
||||
static int createDir(std::string& Dir, mode_t mode = 755);
|
||||
static int createDir(const char *Dir, mode_t mode = 755){std::string dir = std::string(Dir);return createDir(dir, mode);}
|
||||
bool removeDir(const char *Dir);
|
||||
static bool removeDir(const char *Dir);
|
||||
};
|
||||
|
||||
std::string to_string(int);
|
||||
|
Reference in New Issue
Block a user