浏览代码

Added AI_WONT_RETURN and AI_WONT_RETURN_SUFFIX to DOMError.

Sherief Farouk 12 年之前
父节点
当前提交
ace5b763c3
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      code/FBXDocumentUtil.h

+ 2 - 2
code/FBXDocumentUtil.h

@@ -50,8 +50,8 @@ namespace Util {
 
 
 
 
 /* DOM/Parse error reporting - does not return */
 /* 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
 // does return
 void DOMWarning(const std::string& message, const Token& token);
 void DOMWarning(const std::string& message, const Token& token);