From 4652d70572e33b244beb1b31f0da0f98958d329d Mon Sep 17 00:00:00 2001
From: Kloen <kloen@outlawkiwi.com>
Date: Sun, 29 Jan 2017 19:53:52 +0100
Subject: [PATCH] video_core: silence unused-local-typedef boost related
 warning on GCC

---
 src/video_core/renderer_opengl/gl_rasterizer_cache.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h
index b50e8292b..f57fdb3cc 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h
@@ -8,7 +8,14 @@
 #include <memory>
 #include <set>
 #include <tuple>
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-local-typedef"
+#endif
 #include <boost/icl/interval_map.hpp>
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
 #include <glad/glad.h>
 #include "common/assert.h"
 #include "common/common_funcs.h"