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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user