소스 검색

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