diff options
Diffstat (limited to 'cpp/tests/MockConnectionInputHandler.h')
-rw-r--r-- | cpp/tests/MockConnectionInputHandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/tests/MockConnectionInputHandler.h b/cpp/tests/MockConnectionInputHandler.h index b039e244d9..55dbceaf44 100644 --- a/cpp/tests/MockConnectionInputHandler.h +++ b/cpp/tests/MockConnectionInputHandler.h @@ -30,9 +30,9 @@ struct MockConnectionInputHandler : public qpid::sys::ConnectionInputHandler { ~MockConnectionInputHandler() {} - void initiated(qpid::framing::ProtocolInitiation* pi) { + void initiated(const qpid::framing::ProtocolInitiation& pi) { qpid::sys::Monitor::ScopedLock l(monitor); - init = *pi; + init = pi; setState(GOT_INIT); } |