From: jpr Date: Wed, 24 Sep 2003 13:27:02 +0000 (+0000) Subject: mistyping corrected X-Git-Tag: Version0.3.1~153 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=sidebyside;h=9d217e6d20ba46665976a7ac3e631ac52b6cb360;hp=d3f4bf687510297b497282ad9f22ac6a03d25469;p=gdcm.git mistyping corrected --- diff --git a/src/gdcmUtil.cxx b/src/gdcmUtil.cxx index df21396f..2e6fef7b 100644 --- a/src/gdcmUtil.cxx +++ b/src/gdcmUtil.cxx @@ -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);