]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/DTreePlanter.h
Callback: remove fixed-arity wrappers
[xonotic/netradiant.git] / contrib / bobtoolz / DTreePlanter.h
index b7bc42003f5d4a79695894bb8bfc81dfb4db94a9..102976d8d416d85f0d2d8f0970e4eff389b8ff44 100644 (file)
@@ -42,12 +42,12 @@ MouseEventHandlerId m_mouseDown;
 SignalHandlerId m_destroyed;
 public:
 SignalHandlerResult mouseDown( const WindowVector& position, ButtonIdentifier button, ModifierFlags modifiers );
-typedef Member3<DTreePlanter, const WindowVector&, ButtonIdentifier, ModifierFlags, SignalHandlerResult, &DTreePlanter::mouseDown> MouseDownCaller;
+typedef Member<DTreePlanter, SignalHandlerResult(const WindowVector&, ButtonIdentifier, ModifierFlags), &DTreePlanter::mouseDown> MouseDownCaller;
 void destroyed(){
        m_mouseDown = MouseEventHandlerId();
        m_destroyed = SignalHandlerId();
 }
-typedef Member<DTreePlanter, void, &DTreePlanter::destroyed> DestroyedCaller;
+typedef Member<DTreePlanter, void(), &DTreePlanter::destroyed> DestroyedCaller;
 
 DTreePlanter() {
        m_numModels =   0;