From cd2947d7e950f63bd08ec2eb2b40f4f447309dc1 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Sun, 20 Dec 2015 13:32:13 -0500 Subject: [PATCH] Dispatcher.h: include assert.h The inline ms_fast_dispatch implementation calls assert, which puts asset.h in the interface. The fact that many Dispatcher descendants don't implement ms_fast_dispatch prevents making the method pure virtual--which suggests that maybe there is a need for a FastDispatcher interface that inherits Dispatcher and introduces ms_fast_dispatch and related? Signed-off-by: Matt Benjamin --- src/msg/Dispatcher.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/msg/Dispatcher.h b/src/msg/Dispatcher.h index 4c134e577a751..d6868edc18d9b 100644 --- a/src/msg/Dispatcher.h +++ b/src/msg/Dispatcher.h @@ -17,6 +17,7 @@ #define CEPH_DISPATCHER_H #include "include/buffer_fwd.h" +#include "include/assert.h" class Messenger; class Message; -- 2.39.5