diff options
Diffstat (limited to 'qpid/cpp/src/qpidd.cpp')
-rw-r--r-- | qpid/cpp/src/qpidd.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/qpid/cpp/src/qpidd.cpp b/qpid/cpp/src/qpidd.cpp index 0194f9af23..67c94383e8 100644 --- a/qpid/cpp/src/qpidd.cpp +++ b/qpid/cpp/src/qpidd.cpp @@ -102,13 +102,7 @@ struct QpiddOptions : public qpid::Options { add(broker); add(daemon); add(log); - const Plugin::Plugins& plugins= - Plugin::getPlugins(); - for (Plugin::Plugins::const_iterator i = plugins.begin(); - i != plugins.end(); - ++i) - if ((*i)->getOptions() != 0) - add(*(*i)->getOptions()); + Plugin::addOptions(*this); } void usage() const { |