From fa93ba76febf8cafe415003ba5ab3f1985943cc6 Mon Sep 17 00:00:00 2001 From: Malcolm Tyrrell Date: Thu, 20 Aug 2020 15:01:24 +0100 Subject: [PATCH] Do need to export base class. --- include/assimp/Exceptional.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/assimp/Exceptional.h b/include/assimp/Exceptional.h index 0228258b3..71566ae4f 100644 --- a/include/assimp/Exceptional.h +++ b/include/assimp/Exceptional.h @@ -56,7 +56,7 @@ using std::runtime_error; #pragma warning(disable : 4275) #endif -class DeadlyErrorBase : public runtime_error { +class ASSIMP_API DeadlyErrorBase : public runtime_error { protected: DeadlyErrorBase(Assimp::Formatter::format f); @@ -145,7 +145,7 @@ struct ExceptionSwallower { return ExceptionSwallower()(); \ } \ catch (...) { \ - ASSIMP_END_EXCEPTION_REGION_errorString = "Unknown exception"; \ + ASSIMP_END_EXCEPTION_REGION_errorString = "Unknown exception"; \ ASSIMP_END_EXCEPTION_REGION_exception = std::current_exception(); \ return ExceptionSwallower()(); \ } \