From 732dad0e6e61d8916616a9a5656cf30091e5456e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 1 Apr 2003 20:52:56 +0000 Subject: [PATCH] Fixed std::string usage so that std::string::size_type is used where appropriate. --- src/osg/ApplicationUsage.cpp | 8 ++++---- src/osg/ArgumentParser.cpp | 29 ++--------------------------- src/osgPlugins/directx/directx.cpp | 8 ++++---- 3 files changed, 10 insertions(+), 35 deletions(-) diff --git a/src/osg/ApplicationUsage.cpp b/src/osg/ApplicationUsage.cpp index 2b83c7241..df6800d38 100644 --- a/src/osg/ApplicationUsage.cpp +++ b/src/osg/ApplicationUsage.cpp @@ -72,8 +72,8 @@ void ApplicationUsage::getFormatedString(std::string& str, const UsageMap& um,un line.replace(optionPos,optionWidth,citr->first); const std::string& explanation = citr->second; - unsigned int pos = 0; - unsigned int offset = 0; + std::string::size_type pos = 0; + std::string::size_type offset = 0; bool firstInLine = true; while (pos