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:
parent
e7c9cf3b66
commit
89dade2a00
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue