Browse Source

Avoided some MSVC warnings

tags/2021-05-28
jules 12 years ago
parent
commit
693ebab706
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/memory/juce_ScopedPointer.h

+ 1
- 1
modules/juce_core/memory/juce_ScopedPointer.h View File

@@ -200,7 +200,7 @@ private:
// (Required as an alternative to the overloaded & operator).
const ScopedPointer* getAddress() const noexcept { return this; }
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS || ! JUCE_MSVC // (MSVC can't deal with multiple copy constructors)
#if ! JUCE_MSVC // (MSVC can't deal with multiple copy constructors)
/* The copy constructors are private to stop people accidentally copying a const ScopedPointer
(the compiler would let you do so by implicitly casting the source to its raw object pointer).


Loading…
Cancel
Save