From d3f4bf687510297b497282ad9f22ac6a03d25469 Mon Sep 17 00:00:00 2001 From: jpr Date: Wed, 24 Sep 2003 13:25:21 +0000 Subject: [PATCH] remaining and so on ... (Sorry, I'm under RedHat 7.3, and gcc agrees with *everything" gcc disagrees with a lot of stuff under RedHat 9 :-( --- src/gdcmUtil.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gdcmUtil.cxx b/src/gdcmUtil.cxx index 035ec409..df21396f 100644 --- a/src/gdcmUtil.cxx +++ b/src/gdcmUtil.cxx @@ -1,4 +1,4 @@ -// $Header: /cvs/public/gdcm/src/gdcmUtil.cxx,v 1.21 2003/09/24 13:21:46 jpr Exp $ +// $Header: /cvs/public/gdcm/src/gdcmUtil.cxx,v 1.22 2003/09/24 13:25:21 jpr Exp $ //This is needed when compiling in debug mode #ifdef _MSC_VER @@ -108,9 +108,9 @@ std::istream& eatwhite(std::istream& is) { void Tokenize (const std::string& str, std::vector& tokens, const std::string& delimiters) { - string::size_type lastPos = str.find_first_not_of(delimiters,0); - string::size_type pos = str.find_first_of (delimiters,lastPos); - while (string::npos != pos || string::npos != lastPos) { + 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) { tokens.push_back(str.substr(lastPos, pos - lastPos)); lastPos = str.find_first_not_of(delimiters, pos); pos = str.find_first_of (delimiters, lastPos); -- 2.45.1