From 3a937b75a0f64db5bb0498c0168c0a24b606a792 Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 4 Dec 2017 14:19:16 +0000 Subject: [PATCH] Avoided a confusing error with Grid when using old compilers --- modules/juce_gui_basics/juce_gui_basics.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/juce_gui_basics/juce_gui_basics.h b/modules/juce_gui_basics/juce_gui_basics.h index e839431cad..90f34e35a1 100644 --- a/modules/juce_gui_basics/juce_gui_basics.h +++ b/modules/juce_gui_basics/juce_gui_basics.h @@ -156,10 +156,12 @@ namespace juce class ApplicationCommandManagerListener; class DrawableButton; - #if JUCE_COMPILER_SUPPORTS_INITIALIZER_LISTS - class FlexBox; + #if JUCE_COMPILER_SUPPORTS_INITIALIZER_LISTS + class FlexBox; + #if JUCE_HAS_CONSTEXPR class Grid; #endif + #endif } #include "mouse/juce_MouseCursor.h"