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