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_WindowX11.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_WindowX11.h')
-rw-r--r--intern/ghost/intern/GHOST_WindowX11.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.h b/intern/ghost/intern/GHOST_WindowX11.h
index 7bb9a858882..eaa8a5327f7 100644
--- a/intern/ghost/intern/GHOST_WindowX11.h
+++ b/intern/ghost/intern/GHOST_WindowX11.h
@@ -233,7 +233,7 @@ protected:
* \param type The type of rendering context create.
* \return Indication of success.
*/
- virtual GHOST_Context *newDrawingContext(GHOST_TDrawingContextType type);
+ GHOST_Context *newDrawingContext(GHOST_TDrawingContextType type);
/**
* Sets the cursor visibility on the window using