summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/PluginManagerI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2015-02-02 10:31:15 +0100
committerBenoit Foucher <benoit@zeroc.com>2015-02-02 10:31:15 +0100
commitbb209f348a08f27bbb561e4d5a93a0b2cbdaaf50 (patch)
tree66404a0a370f2708cc60f4a3183c0d10a5e5df04 /cpp/src/Ice/PluginManagerI.cpp
parentAdded support for registration of plugin factories (diff)
downloadice-bb209f348a08f27bbb561e4d5a93a0b2cbdaaf50.tar.bz2
ice-bb209f348a08f27bbb561e4d5a93a0b2cbdaaf50.tar.xz
ice-bb209f348a08f27bbb561e4d5a93a0b2cbdaaf50.zip
Fixed IceGrid discovery plugin to not depend on IceGrid::Locator directly
Diffstat (limited to 'cpp/src/Ice/PluginManagerI.cpp')
-rw-r--r--cpp/src/Ice/PluginManagerI.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/cpp/src/Ice/PluginManagerI.cpp b/cpp/src/Ice/PluginManagerI.cpp
index e43a8441cc2..33901a78cb7 100644
--- a/cpp/src/Ice/PluginManagerI.cpp
+++ b/cpp/src/Ice/PluginManagerI.cpp
@@ -52,10 +52,6 @@ Ice::PluginManagerI::registerPluginFactory(const std::string& name, PLUGIN_FACTO
{
factories = new map<string, PLUGIN_FACTORY>();
}
- if(loadOnInitialization == 0)
- {
- loadOnInitialization = new vector<string>();
- }
map<string, PLUGIN_FACTORY>::const_iterator p = factories->find(name);
if(p == factories->end())