Fixed a syntax error for the G++ Compiler