diff options
Diffstat (limited to 'cpp/broker/src/DirectExchange.cpp')
-rw-r--r-- | cpp/broker/src/DirectExchange.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/broker/src/DirectExchange.cpp b/cpp/broker/src/DirectExchange.cpp index 70f7ee838f..ca29225bee 100644 --- a/cpp/broker/src/DirectExchange.cpp +++ b/cpp/broker/src/DirectExchange.cpp @@ -22,7 +22,7 @@ using namespace qpid::broker; using namespace qpid::framing; -DirectExchange::DirectExchange(const string& _name) : name(_name) { +DirectExchange::DirectExchange(const string& name) : Exchange(name) { } @@ -59,7 +59,7 @@ void DirectExchange::route(Message::shared_ptr& msg, const string& routingKey, F (*i)->deliver(msg); } if(!count){ - std::cout << "WARNING: DirectExchange " << name << " could not route message with key " << routingKey << std::endl; + std::cout << "WARNING: DirectExchange " << getName() << " could not route message with key " << routingKey << std::endl; } lock.release(); } |