diff --git a/SystemTools.cxx b/SystemTools.cxx index 1054d65263fd7ad785748338938062beca6cf1ef..f915e568cd1535bc1521b078ebc2513c84596a21 100644 --- a/SystemTools.cxx +++ b/SystemTools.cxx @@ -4054,7 +4054,7 @@ kwsys_stl::string SystemTools::GetCurrentDateTime(const char* format) return kwsys_stl::string(buf); } -kwsys_stl::string SystemTools::MakeCindentifier(const char* s) +kwsys_stl::string SystemTools::MakeCidentifier(const char* s) { kwsys_stl::string str(s); if (str.find_first_of("0123456789") == 0) diff --git a/SystemTools.hxx.in b/SystemTools.hxx.in index 5171125ce0f6861664fce702ce0294a34b346282..9c56e96b07ec3dd73c8947eaa58885d94ebabaa8 100644 --- a/SystemTools.hxx.in +++ b/SystemTools.hxx.in @@ -91,8 +91,13 @@ public: * then an underscore is prepended. Note that this can produce * identifiers that the standard reserves (_[A-Z].* and __.*). */ - static kwsys_stl::string MakeCindentifier(const char* s); - + static kwsys_stl::string MakeCidentifier(const char* s); + + static kwsys_stl::string MakeCindentifier(const char* s) + { + return MakeCidentifier(s); + } + /** * Replace replace all occurences of the string in the source string. */