aboutsummaryrefslogtreecommitdiff
path: root/base/plugins.cpp
diff options
context:
space:
mode:
authorMax Horn2004-02-05 00:19:57 +0000
committerMax Horn2004-02-05 00:19:57 +0000
commitf59eb3b2194826c73f56161497f4004b2313efa2 (patch)
tree5c070e2626f83d256fc161a8ec7e98ca2397af58 /base/plugins.cpp
parentdc852177fb27b83620f0a4296cde0e1a8dec1f62 (diff)
downloadscummvm-rg350-f59eb3b2194826c73f56161497f4004b2313efa2.tar.gz
scummvm-rg350-f59eb3b2194826c73f56161497f4004b2313efa2.tar.bz2
scummvm-rg350-f59eb3b2194826c73f56161497f4004b2313efa2.zip
renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
Diffstat (limited to 'base/plugins.cpp')
-rw-r--r--base/plugins.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp
index ca2fd6136f..c106f52d69 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -53,7 +53,7 @@ GameSettings Plugin::findGame(const char *gameName) const {
assert(gameName);
GameList games = getSupportedGames();
GameSettings result = {NULL, NULL, 0};
- for (GameList::Iterator g = games.begin(); g != games.end(); ++g) {
+ for (GameList::iterator g = games.begin(); g != games.end(); ++g) {
if (!scumm_stricmp(g->name, gameName)) {
result = *g;
break;
@@ -254,7 +254,7 @@ void PluginManager::loadPlugins() {
}
void PluginManager::unloadPlugins() {
- int i;
+ uint i;
for (i = 0; i < _plugins.size(); i++) {
_plugins[i]->unloadPlugin();
delete _plugins[i];
@@ -281,7 +281,7 @@ DetectedGameList PluginManager::detectGames(const FSList &fslist) const {
// Iterate over all known games and for each check if it might be
// the game in the presented directory.
- PluginList::ConstIterator iter;
+ PluginList::const_iterator iter;
for (iter = _plugins.begin(); iter != _plugins.end(); ++iter) {
candidates.push_back((*iter)->detectGames(fslist));
}