diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-12-26 20:00:27 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-12-26 20:00:27 (GMT) |
commit | 32accc160762ca80f1138d4e9c710d9edb72479c (patch) | |
tree | 833c2501fd16b44dfd418e36f65ae3a46a854d45 /Source/cmSystemTools.h | |
parent | b5035770bc15cf8ddaefe87ee2dc291cd29e07da (diff) | |
download | CMake-32accc160762ca80f1138d4e9c710d9edb72479c.zip CMake-32accc160762ca80f1138d4e9c710d9edb72479c.tar.gz CMake-32accc160762ca80f1138d4e9c710d9edb72479c.tar.bz2 |
BUG: For consistency, use cmStdString. Also, there was a bug in SplitString which make it lose the first character.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 4aeaf18..939d178 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -249,7 +249,7 @@ public: ///! compute the relative path from local to remote static std::string RelativePath(const char* local, const char* remote); ///! split a path by separator into an array of strings, default is / - static std::vector<std::string> SplitString(const char* s, char separator = '/'); + static std::vector<cmStdString> SplitString(const char* s, char separator = '/'); private: static bool s_ForceUnixPaths; static bool s_RunCommandHideConsole; |