CFileHelpers: declare removeDir() as static

allows use without object


Origin commit data
------------------
Branch: ni/coolstream
Commit: 58b7c0e6bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-31 (Sat, 31 Jan 2015)



------------------
This commit was generated by Migit
This commit is contained in:
2015-01-31 22:29:54 +01:00
parent 613869c997
commit a89c34c54f

View File

@@ -90,7 +90,7 @@ class CFileHelpers
bool copyDir(const char *Src, const char *Dst, bool backupMode=false); bool copyDir(const char *Src, const char *Dst, bool backupMode=false);
static int createDir(std::string& Dir, mode_t mode = 755); 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);} 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); std::string to_string(int);