From 8eafbcc7821ea6a6a6976e06fe2c6810c9767e2b Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 26 Jun 2008 18:12:12 +0000 Subject: Consolidated cluster tests in cluster_test.cpp Improvements to BrokerFixture for testing. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@671969 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpidd.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'qpid/cpp/src/qpidd.cpp') 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 { -- cgit v1.2.1