From ace5b763c3aef3cfbfcb8e364fb329b3e705661b Mon Sep 17 00:00:00 2001 From: Sherief Farouk Date: Sun, 4 Aug 2013 10:11:02 -0400 Subject: [PATCH] Added AI_WONT_RETURN and AI_WONT_RETURN_SUFFIX to DOMError. --- code/FBXDocumentUtil.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/FBXDocumentUtil.h b/code/FBXDocumentUtil.h index 7ff71937c..6f150b6d5 100644 --- a/code/FBXDocumentUtil.h +++ b/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);