summaryrefslogtreecommitdiff
path: root/cpp/client/src/ResponseHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/client/src/ResponseHandler.cpp')
-rw-r--r--cpp/client/src/ResponseHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/client/src/ResponseHandler.cpp b/cpp/client/src/ResponseHandler.cpp
index 837bba37fd..6938539469 100644
--- a/cpp/client/src/ResponseHandler.cpp
+++ b/cpp/client/src/ResponseHandler.cpp
@@ -39,8 +39,8 @@ void qpid::client::ResponseHandler::waitForResponse(){
monitor->release();
}
-void qpid::client::ResponseHandler::signalResponse(qpid::framing::AMQMethodBody::shared_ptr response){
- this->response = response;
+void qpid::client::ResponseHandler::signalResponse(qpid::framing::AMQMethodBody::shared_ptr _response){
+ response = _response;
monitor->acquire();
waiting = false;
monitor->notify();