From 1bcd29d704788736eee9a47817a7d2e1e6f50e3f Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Thu, 15 Apr 2010 10:35:15 +0000 Subject: [PATCH] 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 --- code/OgreXmlHelper.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/OgreXmlHelper.h b/code/OgreXmlHelper.h index 1b7fb1cea..a5eb96f2e 100644 --- a/code/OgreXmlHelper.h +++ b/code/OgreXmlHelper.h @@ -11,11 +11,14 @@ typedef irr::io::IrrXMLReader XmlReader; //------------Helper Funktion to Get a Attribute Save--------------- -template inline t GetAttribute(XmlReader* Reader, std::string Name) +template inline t GetAttribute(XmlReader* Reader, std::string Name); + +/* { - throw std::exception("unimplemented Funtcion used!"); + BOOST_STATIC_ASSERT(false); return t(); } +*/ template<> inline int GetAttribute(XmlReader* Reader, std::string Name) {