Sfoglia il codice sorgente

Fix Windows linkage error.

Sascha Zelzer 14 anni fa
parent
commit
a4a936dbf1

+ 1 - 1
Libs/PluginFramework/ctkServiceReference.h

@@ -198,7 +198,7 @@ protected:
   template<class S, class T> friend class ctkServiceTrackerPrivate;
   template<class S, class R, class T> friend class ctkPluginAbstractTracked;
 
-  friend uint qHash(const ctkServiceReference&);
+  friend uint CTK_PLUGINFW_EXPORT qHash(const ctkServiceReference&);
 
   ctkServiceReference(ctkServiceRegistrationPrivate* reg);
 

+ 1 - 1
Libs/PluginFramework/ctkServiceRegistration.h

@@ -150,7 +150,7 @@ protected:
   friend class ctkServices;
   friend class ctkServiceReferencePrivate;
 
-  friend uint qHash(const ctkServiceRegistration&);
+  friend uint CTK_PLUGINFW_EXPORT qHash(const ctkServiceRegistration&);
 
   ctkServiceRegistration(ctkServiceRegistrationPrivate* registrationPrivate);