From e06dd2435e9868937d45a34140dc20ea53f58e85 Mon Sep 17 00:00:00 2001 From: Cedric Guillemet Date: Fri, 23 Oct 2020 16:44:18 +0200 Subject: [PATCH] gcc fix warning (#2295) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit error: extra ‘;’ [-Werror=pedantic] --- examples/common/font/font_manager.h | 4 ++-- examples/common/font/text_buffer_manager.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/common/font/font_manager.h b/examples/common/font/font_manager.h index 9a6fdf046..05e22502d 100644 --- a/examples/common/font/font_manager.h +++ b/examples/common/font/font_manager.h @@ -114,8 +114,8 @@ struct GlyphInfo uint16_t regionIndex; }; -BGFX_HANDLE(TrueTypeHandle); -BGFX_HANDLE(FontHandle); +BGFX_HANDLE(TrueTypeHandle) +BGFX_HANDLE(FontHandle) class FontManager { diff --git a/examples/common/font/text_buffer_manager.h b/examples/common/font/text_buffer_manager.h index 612259589..feeac2322 100644 --- a/examples/common/font/text_buffer_manager.h +++ b/examples/common/font/text_buffer_manager.h @@ -8,7 +8,7 @@ #include "font_manager.h" -BGFX_HANDLE(TextBufferHandle); +BGFX_HANDLE(TextBufferHandle) #define MAX_TEXT_BUFFER_COUNT 64