Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2015-02-08 22:18:53 +0300
committerMike Erwin <significant.bit@gmail.com>2015-02-08 22:18:53 +0300
commitf0f3554e17398017a824582c401087b7dd3b2708 (patch)
treeef2079596ea8bd4ec572f7f5649e621fc6528e76 /intern/ghost/intern/GHOST_CallbackEventConsumer.h
parent8aeb9d2158a4624c43219a0e2c01c322e88ff12e (diff)
GHOST: fewer virtual functions
Reined back over-use of virtual functions in GHOST, especially in "leaves" of the inheritance hierarchy. This eliminates vtables for many classes and (in some places) turns virtual function dispatch into direct function calls. I'll be around to fix things if other coders think this change is too much. Still lots of virtual in GHOST_TaskbarWin32 since it just loves virtual.
Diffstat (limited to 'intern/ghost/intern/GHOST_CallbackEventConsumer.h')
-rw-r--r--intern/ghost/intern/GHOST_CallbackEventConsumer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_CallbackEventConsumer.h b/intern/ghost/intern/GHOST_CallbackEventConsumer.h
index 770ebdc8b78..3505d651fa3 100644
--- a/intern/ghost/intern/GHOST_CallbackEventConsumer.h
+++ b/intern/ghost/intern/GHOST_CallbackEventConsumer.h
@@ -57,7 +57,7 @@ public:
/**
* Destructor.
*/
- virtual ~GHOST_CallbackEventConsumer(void)
+ ~GHOST_CallbackEventConsumer(void)
{
}
@@ -66,7 +66,7 @@ public:
* \param event The event that can be handled or ignored.
* \return Indication as to whether the event was handled.
*/
- virtual bool processEvent(GHOST_IEvent *event);
+ bool processEvent(GHOST_IEvent *event);
protected:
/** The call-back routine invoked. */