ソースを参照

Fix Windows linkage error.

Sascha Zelzer 14 年 前
コミット
a4a936dbf1
共有2 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 1 1
      Libs/PluginFramework/ctkServiceReference.h
  2. 1 1
      Libs/PluginFramework/ctkServiceRegistration.h

+ 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);