Quellcode durchsuchen

Fixed class / struct forward decls and incomplete type.

Sascha Zelzer vor 10 Jahren
Ursprung
Commit
f20ec82474

+ 2 - 0
Libs/PluginFramework/Testing/FrameworkTestPlugins/app_test/ctkTestApp_p.h

@@ -57,6 +57,8 @@ public:
 
 private:
 
+  Q_DISABLE_COPY(MyAppContainer)
+
   virtual ctkApplicationLauncher* addingService(const ctkServiceReference& reference);
   virtual void modifiedService(const ctkServiceReference& reference, ctkApplicationLauncher* service);
   virtual void removedService(const ctkServiceReference& reference, ctkApplicationLauncher* service);

+ 1 - 1
Libs/PluginFramework/ctkBasicLocation_p.h

@@ -74,7 +74,7 @@ public:
 private:
 
   struct MockLocker;
-  struct FileLocker;
+  class FileLocker;
 
   bool m_isReadOnly;
   QUrl m_location;

+ 1 - 1
Libs/PluginFramework/service/debug/ctkDebugOptionsListener.h

@@ -24,7 +24,7 @@
 
 #include <QtPlugin>
 
-class ctkDebugOptions;
+struct ctkDebugOptions;
 
 /**
  * A debug options listener is notified whenever one of its plug-in option-path entries is