Browse Source

Added AI_WONT_RETURN and AI_WONT_RETURN_SUFFIX to DOMError.

Sherief Farouk 12 năm trước cách đây
mục cha
commit
ace5b763c3
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      code/FBXDocumentUtil.h

+ 2 - 2
code/FBXDocumentUtil.h

@@ -50,8 +50,8 @@ namespace Util {
 
 
 /* DOM/Parse error reporting - does not return */
-void DOMError(const std::string& message, const Token& token);
-void DOMError(const std::string& message, const Element* element = NULL);
+AI_WONT_RETURN void DOMError(const std::string& message, const Token& token) AI_WONT_RETURN_SUFFIX;
+AI_WONT_RETURN void DOMError(const std::string& message, const Element* element = NULL) AI_WONT_RETURN_SUFFIX;
 
 // does return
 void DOMWarning(const std::string& message, const Token& token);