Browse Source

Merge pull request #270 from Dinno/master

Fix for build error which happens under non GCC compilers
David Wimsey 10 years ago
parent
commit
f164420c50
1 changed files with 4 additions and 2 deletions
  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);
 }
 }
 
 
 }
 }