Ver Fonte

DLL export specializations of the Swap function.

Lasse Öörni há 10 anos atrás
pai
commit
c810f9908f
1 ficheiros alterados com 4 adições e 4 exclusões
  1. 4 4
      Source/Urho3D/Container/Swap.h

+ 4 - 4
Source/Urho3D/Container/Swap.h

@@ -38,9 +38,9 @@ template <class T> inline void Swap(T& first, T& second)
     second = temp;
     second = temp;
 }
 }
 
 
-template <> void Swap<String>(String& first, String& second);
-template <> void Swap<VectorBase>(VectorBase& first, VectorBase& second);
-template <> void Swap<ListBase>(ListBase& first, ListBase& second);
-template <> void Swap<HashBase>(HashBase& first, HashBase& second);
+template <> URHO3D_API void Swap<String>(String& first, String& second);
+template <> URHO3D_API void Swap<VectorBase>(VectorBase& first, VectorBase& second);
+template <> URHO3D_API void Swap<ListBase>(ListBase& first, ListBase& second);
+template <> URHO3D_API void Swap<HashBase>(HashBase& first, HashBase& second);
 
 
 }
 }