1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00

Fixed a compile problem with the GNU c++ library

This commit is contained in:
jules 2016-07-05 10:41:53 +01:00
parent e7c9cf3b66
commit 89dade2a00
2 changed files with 2 additions and 2 deletions

View file

@ -248,7 +248,7 @@ public:
#if JUCE_COMPILER_SUPPORTS_NULLPTR
/** Creates a pointer to a null object. */
ReferenceCountedObjectPtr (std::nullptr_t) noexcept
ReferenceCountedObjectPtr (decltype (nullptr)) noexcept
: referencedObject (nullptr)
{
}

View file

@ -78,7 +78,7 @@ public:
#if JUCE_COMPILER_SUPPORTS_NULLPTR
/** Creates a ScopedPointer containing a null pointer. */
inline ScopedPointer (std::nullptr_t) noexcept : object (nullptr)
inline ScopedPointer (decltype (nullptr)) noexcept : object (nullptr)
{
}
#endif