Browse Source

Undo one other small change.

Malcolm Tyrrell 5 năm trước cách đây
mục cha
commit
16c227e27c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      include/assimp/Exceptional.h

+ 2 - 2
include/assimp/Exceptional.h

@@ -56,7 +56,7 @@ using std::runtime_error;
 #pragma warning(disable : 4275)
 #endif
 
-class ASSIMP_API DeadlyErrorBase : public runtime_error {
+class DeadlyErrorBase : public runtime_error {
 protected:
     DeadlyErrorBase(Assimp::Formatter::format f);
     
@@ -145,7 +145,7 @@ struct ExceptionSwallower<void> {
         return ExceptionSwallower<type>()();                                                                                                    \
     }                                                                                                                                           \
     catch (...) {                                                                                                                               \
-        ASSIMP_END_EXCEPTION_REGION_errorString = "Internal error";                                                                             \
+        ASSIMP_END_EXCEPTION_REGION_errorString = "Unknown exception";                                                                             \
         ASSIMP_END_EXCEPTION_REGION_exception = std::current_exception();                                                                       \
         return ExceptionSwallower<type>()();                                                                                                    \
     }                                                                                                                                           \