diff options
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r-- | cpp/src/IceGrid/Database.cpp | 6 |
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; } // |