diff options
author | Chris Wilson <chris+github@qwirx.com> | 2010-03-18 21:39:20 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2010-03-18 21:39:20 +0000 |
commit | a34f95d6ad550d6ac6664c12bad3923d55766f9f (patch) | |
tree | c525e0f8b6f4835cdd8c84bbf39063384b214bf5 /lib/common/Test.h | |
parent | 70c19c9ebb86ad8a252b78e0e7630ba829bc05cc (diff) |
Make TestGetFileSize take a std::string instead of a char * for C++
style.
Diffstat (limited to 'lib/common/Test.h')
-rw-r--r-- | lib/common/Test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/Test.h b/lib/common/Test.h index 08ba4542..802d8636 100644 --- a/lib/common/Test.h +++ b/lib/common/Test.h @@ -140,7 +140,7 @@ bool TestFileExists(const char *Filename); bool TestDirExists(const char *Filename); // -1 if doesn't exist -int TestGetFileSize(const char *Filename); +int TestGetFileSize(const std::string& Filename); std::string ConvertPaths(const std::string& rOriginal); int RunCommand(const std::string& rCommandLine); bool ServerIsAlive(int pid); |