Selaa lähdekoodia

Fix: OgreImporter relies on non ISO std::exception c'tor.

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

+ 5 - 2
code/OgreXmlHelper.h

@@ -11,11 +11,14 @@ typedef irr::io::IrrXMLReader XmlReader;
 
 
 //------------Helper Funktion to Get a Attribute Save---------------
-template<typename t> inline t GetAttribute(XmlReader* Reader, std::string Name)
+template<typename t> inline t GetAttribute(XmlReader* Reader, std::string Name);
+
+/*
 {
-	throw std::exception("unimplemented Funtcion used!");
+	BOOST_STATIC_ASSERT(false);
 	return t();
 }
+*/
 
 template<> inline int GetAttribute<int>(XmlReader* Reader, std::string Name)
 {