From 64e76146d916cb8fb36fb54073f50bc3240e5264 Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 6 Sep 2017 14:12:41 +0100 Subject: [PATCH] Avoided a compiler error when using xcode with very old standard libraries --- modules/juce_core/text/juce_String.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/juce_core/text/juce_String.h b/modules/juce_core/text/juce_String.h index 563b67f0ae..8b5bf10e61 100644 --- a/modules/juce_core/text/juce_String.h +++ b/modules/juce_core/text/juce_String.h @@ -1412,6 +1412,7 @@ JUCE_API OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const Str JUCE_API OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, StringRef stringToWrite); +#if JUCE_COMPILER_SUPPORTS_INITIALIZER_LISTS // just used to avoid compiling this under compilers that lack libc++ } // namespace juce namespace std @@ -1423,3 +1424,4 @@ namespace std } namespace juce { +#endif