]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Dispatcher.h: include assert.h 6990/head
authorMatt Benjamin <mbenjamin@redhat.com>
Sun, 20 Dec 2015 18:32:13 +0000 (13:32 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Sun, 20 Dec 2015 18:32:13 +0000 (13:32 -0500)
commitcd2947d7e950f63bd08ec2eb2b40f4f447309dc1
treeba5eab7bceed424dc33e5220ebdc23ac4093981b
parentc2a24992636dfd2b51cd26a9bb54718438b2d74c
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 <mbenjamin@redhat.com>
src/msg/Dispatcher.h