Browse Source

Avoided a compiler error when using xcode with very old standard libraries

tags/2021-05-28
jules 8 years ago
parent
commit
64e76146d9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/juce_core/text/juce_String.h

+ 2
- 0
modules/juce_core/text/juce_String.h View File

@@ -1412,6 +1412,7 @@ JUCE_API OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const Str
JUCE_API OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, StringRef stringToWrite); 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 juce
namespace std namespace std
@@ -1423,3 +1424,4 @@ namespace std
} }
namespace juce { namespace juce {
#endif

Loading…
Cancel
Save