From ec9fe87220829f2f6f3940f714a8057c5f79e799 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Fri, 22 Mar 2013 09:39:55 +0100 Subject: iOS: remove unneeded void pointer casting in private headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The headers in use for the sensor backend are private, and should never be directly included in any .cpp files. As such, we don't need to be careful using obj-c features in the header files. Change-Id: If16a84c88a7e7afc45afe00e668e4582337e4907 Reviewed-by: Tor Arne Vestbø --- src/plugins/sensors/ios/iosgyroscope.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/plugins/sensors/ios/iosgyroscope.h') diff --git a/src/plugins/sensors/ios/iosgyroscope.h b/src/plugins/sensors/ios/iosgyroscope.h index 358a7c83..ed46241c 100644 --- a/src/plugins/sensors/ios/iosgyroscope.h +++ b/src/plugins/sensors/ios/iosgyroscope.h @@ -42,6 +42,8 @@ #ifndef IOSGYROSCOPE_H #define IOSGYROSCOPE_H +#include + #include #include @@ -59,7 +61,7 @@ public: void stop(); private: - void *m_updateQueue; + NSOperationQueue *m_updateQueue; QGyroscopeReading m_reading; }; QT_END_NAMESPACE -- cgit v1.2.3