From f3737cf4414656f9804dde96271ef426523df050 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 21 Aug 2007 20:11:20 +0000 Subject: Invocation now uses the visitor mechanism git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@568249 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/AMQMethodBody.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/framing/AMQMethodBody.h') diff --git a/cpp/src/qpid/framing/AMQMethodBody.h b/cpp/src/qpid/framing/AMQMethodBody.h index 9c776e143b..5acb3a7b66 100644 --- a/cpp/src/qpid/framing/AMQMethodBody.h +++ b/cpp/src/qpid/framing/AMQMethodBody.h @@ -50,8 +50,8 @@ class AMQMethodBody : public AMQBody { virtual MethodId amqpMethodId() const = 0; virtual ClassId amqpClassId() const = 0; - virtual void invoke(AMQP_ServerOperations&) { assert(0); } - virtual bool invoke(Invocable*) { return false; } + void invoke(AMQP_ServerOperations&); + bool invoke(Invocable*); template bool isA() const { return amqpClassId()==T::CLASS_ID && amqpMethodId()==T::METHOD_ID; -- cgit v1.2.1