From a89c34c54f704812e953c0a77e2923b9ecc6abed Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 31 Jan 2015 22:29:54 +0100 Subject: [PATCH] CFileHelpers: declare removeDir() as static allows use without object Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/58b7c0e6bf75d9f5e56f7512794c4c7f48fb4b52 Author: Thilo Graf Date: 2015-01-31 (Sat, 31 Jan 2015) ------------------ This commit was generated by Migit --- src/system/helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/helpers.h b/src/system/helpers.h index 2f7b51137..bf1269620 100644 --- a/src/system/helpers.h +++ b/src/system/helpers.h @@ -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);