Selaa lähdekoodia

fix gcc warning: can't pass non-POD through ...

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@718 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg 15 vuotta sitten
vanhempi
commit
35f6851dba
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      code/BlenderDNA.h

+ 3 - 2
code/BlenderDNA.h

@@ -595,8 +595,9 @@ template <> class ObjectCache<boost::shared_array>
 public:
 
 	ObjectCache(const FileDatabase&) {}
-	void get(...) {}
-	void set(...) {}
+
+	template <typename T> void get(const Structure&, boost::shared_array<T>&t, const Pointer&) {}
+	template <typename T> void set(const Structure&, const boost::shared_array<T>&, const Pointer&) {}
 };
 
 #ifdef _MSC_VER