Browse Source

Minor addition to OptionalScopedPointer. Documentation fix.

tags/2021-05-28
jules 13 years ago
parent
commit
bdcfdecc65
2 changed files with 5 additions and 2 deletions
  1. +0
    -2
      modules/juce_audio_formats/codecs/juce_WavAudioFormat.h
  2. +5
    -0
      modules/juce_core/memory/juce_OptionalScopedPointer.h

+ 0
- 2
modules/juce_audio_formats/codecs/juce_WavAudioFormat.h View File

@@ -94,8 +94,6 @@ public:
/** Metadata property name used by wav readers and writers for adding
a BWAV chunk to the file.
This is a
@see AudioFormatReader::metadataValues, createWriterFor
*/
static const char* const bwavCodingHistory;


+ 5
- 0
modules/juce_core/memory/juce_OptionalScopedPointer.h View File

@@ -127,6 +127,11 @@ public:
object.release();
}
/** Returns true if the target object will be deleted when this pointer
object is deleted.
*/
bool willDeleteObject() const noexcept { return shouldDelete; }
//==============================================================================
/** Swaps this object with another OptionalScopedPointer.
The two objects simply exchange their states.


Loading…
Cancel
Save