]> Creatis software - gdcm.git/commitdiff
mistyping corrected
authorjpr <jpr>
Wed, 24 Sep 2003 13:27:02 +0000 (13:27 +0000)
committerjpr <jpr>
Wed, 24 Sep 2003 13:27:02 +0000 (13:27 +0000)
src/gdcmUtil.cxx

index df21396f1529b07d1b69e5292dddf04125d52c36..2e6fef7b1d2eca9286b455597cb2f368df7e895c 100644 (file)
@@ -1,4 +1,4 @@
-// $Header: /cvs/public/gdcm/src/gdcmUtil.cxx,v 1.22 2003/09/24 13:25:21 jpr Exp $
+// $Header: /cvs/public/gdcm/src/gdcmUtil.cxx,v 1.23 2003/09/24 13:27:02 jpr Exp $
 
 //This is needed when compiling in debug mode
 #ifdef _MSC_VER
@@ -110,7 +110,7 @@ void Tokenize (const std::string& str,
                const std::string& delimiters) {
    std::string::size_type lastPos = str.find_first_not_of(delimiters,0);
    std::string::size_type pos     = str.find_first_of    (delimiters,lastPos);
-   while (std::tring::npos != pos || std::string::npos != lastPos) {
+   while (std::string::npos != pos || std::string::npos != lastPos) {
       tokens.push_back(str.substr(lastPos, pos - lastPos));
       lastPos = str.find_first_not_of(delimiters, pos);
       pos     = str.find_first_of    (delimiters, lastPos);