This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Fixed a compile problem with the GNU c++ library
tags/2021-05-28
jules
9 years ago
parent
e7c9cf3b66
commit
89dade2a00
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/juce_core/memory/juce_ReferenceCountedObject.h
+1
-1
modules/juce_core/memory/juce_ScopedPointer.h
+ 1
- 1
modules/juce_core/memory/juce_ReferenceCountedObject.h
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)
{
}
+ 1
- 1
modules/juce_core/memory/juce_ScopedPointer.h
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
Write
Preview
Loading…
Cancel
Save