]> git.tdb.fi Git - libs/gui.git/commitdiff
Inherit sigc::trackable in Android's PlatformDisplayPrivate
authorMikko Rasa <tdb@tdb.fi>
Wed, 12 Nov 2014 20:42:13 +0000 (22:42 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 12 Nov 2014 20:42:13 +0000 (22:42 +0200)
source/graphics/android/display_platform.h

index 198fd46ee2dd3d8bc5b9013efd8d70605c2fb96d..32c1bed43e1a5712af38462906daebaa5bd6d6ad 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <android/input.h>
 #include <android/native_window.h>
+#include <sigc++/trackable.h>
 #include <msp/core/mutex.h>
 #include "window_private.h"
 
@@ -11,7 +12,7 @@ namespace Graphics {
 
 typedef void *DisplayHandle;
 
-struct PlatformDisplayPrivate
+struct PlatformDisplayPrivate: public sigc::trackable
 {
        AInputQueue *input_queue;
        std::list<Window::Event> events;