Module: register_for_event no longer virtual to remove an entry from the vtable and...
authorMichael Moon <triffid.hunter@gmail.com>
Sat, 11 May 2013 15:28:01 +0000 (01:28 +1000)
committerMichael Moon <triffid.hunter@gmail.com>
Sat, 11 May 2013 15:28:01 +0000 (01:28 +1000)
src/libs/Module.h

index 77634dd..197a11c 100644 (file)
@@ -33,7 +33,7 @@ class Module {
     public:
         Module();
         virtual void on_module_loaded();
-        virtual void register_for_event(        _EVENT_ENUM event_id);
+                void register_for_event(        _EVENT_ENUM event_id);
         #define EVENT(name, func) virtual void func (void*);
         #include "Event.h"
         #undef EVENT