summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-rw-r--r--src/python/swig/pyevent.cc2
-rw-r--r--src/python/swig/pyevent.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/python/swig/pyevent.cc b/src/python/swig/pyevent.cc
index bf993bc3e..a201e0185 100644
--- a/src/python/swig/pyevent.cc
+++ b/src/python/swig/pyevent.cc
@@ -67,7 +67,7 @@ PythonEvent::process()
}
}
-Event *
+CountedDrainEvent *
createCountedDrain()
{
return new CountedDrainEvent();
diff --git a/src/python/swig/pyevent.hh b/src/python/swig/pyevent.hh
index c6d6ac993..22b562de1 100644
--- a/src/python/swig/pyevent.hh
+++ b/src/python/swig/pyevent.hh
@@ -46,7 +46,7 @@ class PythonEvent : public Event
virtual void process();
};
-Event *createCountedDrain();
+CountedDrainEvent *createCountedDrain();
void cleanupCountedDrain(Event *counted_drain);
#endif // __PYTHON_SWIG_PYEVENT_HH__