summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Database.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-01-06 18:16:35 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-01-06 18:16:35 +0000
commite278e1613a0cc442b316ba26914dcf26a8e8243f (patch)
tree8225ce18fc89466b6c3ead500199085f2eb6a221 /cpp/src/IceGrid/Database.cpp
parentFixing a bug where the makebindist script wasn't makedist'ing vb (diff)
downloadice-e278e1613a0cc442b316ba26914dcf26a8e8243f.tar.bz2
ice-e278e1613a0cc442b316ba26914dcf26a8e8243f.tar.xz
ice-e278e1613a0cc442b316ba26914dcf26a8e8243f.zip
Fixed SunOS C++ compiler warnings (bug 723)
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r--cpp/src/IceGrid/Database.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp
index 239fa302ba5..f88f4b139b2 100644
--- a/cpp/src/IceGrid/Database.cpp
+++ b/cpp/src/IceGrid/Database.cpp
@@ -732,14 +732,14 @@ Database::getAdapters(const string& id, bool allRegistered, int& endpointCount)
StringAdapterInfoDict::const_iterator p = adapters.find(id);
if(p != adapters.end())
{
- vector<pair<string, AdapterPrx> > adapters;
+ vector<pair<string, AdapterPrx> > adpts;
Ice::Identity identity;
identity.category = "IceGridAdapter";
identity.name = id;
AdapterPrx adpt = AdapterPrx::uncheckedCast(_internalAdapter->createDirectProxy(identity));
- adapters.push_back(make_pair(id, adpt));
+ adpts.push_back(make_pair(id, adpt));
endpointCount = 1;
- return adapters;
+ return adpts;
}
//