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
pull/1/head
aramis_acg 2010-04-15 10:35:15 +00:00
parent 685d2b83c5
commit 1bcd29d704
1 changed files with 5 additions and 2 deletions

View File

@ -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)
{