瀏覽代碼

- Fix for build error which happens under non GCC compilers

Denis A. Kerzhemanov 10 年之前
父節點
當前提交
1959defb8e
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      Source/Core/BitmapFont/FontParser.cpp

+ 4 - 2
Source/Core/BitmapFont/FontParser.cpp

@@ -98,13 +98,15 @@ void FontParser::HandleElementStart(const String& name, const XMLAttributes& att
 }
 }
 
 
 // Called when the parser finds the end of an element tag.
 // Called when the parser finds the end of an element tag.
-void FontParser::HandleElementEnd(const String& ROCKET_UNUSED(name))
+void FontParser::HandleElementEnd(const String& ROCKET_UNUSED_PARAMETER(name))
 {
 {
+	ROCKET_UNUSED(name);
 }
 }
 
 
 // Called when the parser encounters data.
 // Called when the parser encounters data.
-void FontParser::HandleData(const String& ROCKET_UNUSED(data))
+void FontParser::HandleData(const String& ROCKET_UNUSED_PARAMETER(data))
 {
 {
+	ROCKET_UNUSED(data);
 }
 }
 
 
 }
 }