Ver Fonte

Added AI_WONT_RETURN_SUFFIX to ReportError().

Sherief Farouk há 12 anos atrás
pai
commit
32b694d4f6
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      code/ValidateDataStructure.h

+ 1 - 1
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;
 
 
 	// -------------------------------------------------------------------