diff options
author | Matthew Newhook <matthew@zeroc.com> | 2006-04-17 08:09:12 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2006-04-17 08:09:12 +0000 |
commit | e05455d8d459a91c9d94d4c945ad66fa41780db7 (patch) | |
tree | 66219f674ce4861ad523c20918cfeda1a4cc4d1b /cpp/src/Ice/PluginManagerI.cpp | |
parent | adding Ice.PluginLoadOrder property (diff) | |
download | ice-e05455d8d459a91c9d94d4c945ad66fa41780db7.tar.bz2 ice-e05455d8d459a91c9d94d4c945ad66fa41780db7.tar.xz ice-e05455d8d459a91c9d94d4c945ad66fa41780db7.zip |
Fix build error with MSVC 6.
Diffstat (limited to 'cpp/src/Ice/PluginManagerI.cpp')
-rw-r--r-- | cpp/src/Ice/PluginManagerI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/PluginManagerI.cpp b/cpp/src/Ice/PluginManagerI.cpp index e53fae92fa7..7d65df2234c 100644 --- a/cpp/src/Ice/PluginManagerI.cpp +++ b/cpp/src/Ice/PluginManagerI.cpp @@ -115,10 +115,11 @@ Ice::PluginManagerI::loadPlugins(int& argc, char* argv[]) PropertyDict plugins = properties->getPropertiesForPrefix(prefix); string loadOrder = properties->getProperty("Ice.PluginLoadOrder"); + string::size_type beg = 0;
if(!loadOrder.empty()) { const string delim = ", \t\n"; - string::size_type beg = loadOrder.find_first_not_of(delim, beg); + beg = loadOrder.find_first_not_of(delim, beg); while(beg != string::npos) { string name; |