From 32b694d4f63a10e6368d444e8eace7dde6d9f1df Mon Sep 17 00:00:00 2001 From: Sherief Farouk Date: Sun, 4 Aug 2013 10:10:41 -0400 Subject: [PATCH] Added AI_WONT_RETURN_SUFFIX to ReportError(). --- code/ValidateDataStructure.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ValidateDataStructure.h b/code/ValidateDataStructure.h index e33bb5b82..4a3ec86d2 100644 --- a/code/ValidateDataStructure.h +++ b/code/ValidateDataStructure.h @@ -82,7 +82,7 @@ protected: /** Report a validation error. This will throw an exception, * control won't return. * @param msg Format string for sprintf().*/ - AI_WONT_RETURN void ReportError(const char* msg,...); + AI_WONT_RETURN void ReportError(const char* msg,...) AI_WONT_RETURN_SUFFIX; // -------------------------------------------------------------------