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-9d2fd5bffc1fpull/1/head
parent
685d2b83c5
commit
1bcd29d704
|
@ -11,11 +11,14 @@ typedef irr::io::IrrXMLReader XmlReader;
|
||||||
|
|
||||||
|
|
||||||
//------------Helper Funktion to Get a Attribute Save---------------
|
//------------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();
|
return t();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
template<> inline int GetAttribute<int>(XmlReader* Reader, std::string Name)
|
template<> inline int GetAttribute<int>(XmlReader* Reader, std::string Name)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue