mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-28 02:30:05 +00:00
Removed some win32 compiler warnings
This commit is contained in:
parent
ba62157841
commit
89966b43ec
3 changed files with 2 additions and 8 deletions
|
|
@ -6523,9 +6523,6 @@ public:
|
|||
/** Returns a reference to the address of the object that this ScopedPointer refers to. */
|
||||
inline ObjectType* const* operator&() const throw() { return static_cast <ObjectType* const*> (&object); }
|
||||
|
||||
/** Returns a reference to the address of the object that this ScopedPointer refers to. */
|
||||
inline ObjectType** operator&() throw() { return static_cast <ObjectType**> (&object); }
|
||||
|
||||
/** Removes the current object from this ScopedPointer without deleting it.
|
||||
|
||||
This will return the current object, and set the ScopedPointer to a null pointer.
|
||||
|
|
@ -30079,7 +30076,7 @@ public:
|
|||
template <class SampleFormatType> inline void advanceData (SampleFormatType& s) throw() { s.skip (numInterleavedChannels); }
|
||||
template <class SampleFormatType> inline void advanceDataBy (SampleFormatType& s, int numSamples) throw() { s.skip (numInterleavedChannels * numSamples); }
|
||||
template <class SampleFormatType> inline void clear (SampleFormatType& s, int numSamples) throw() { while (--numSamples >= 0) { s.clear(); s.skip (numInterleavedChannels); } }
|
||||
template <class SampleFormatType> inline int getNumBytesBetweenSamples (const SampleFormatType& s) const throw() { return numInterleavedChannels * s.bytesPerSample; }
|
||||
template <class SampleFormatType> inline int getNumBytesBetweenSamples (const SampleFormatType&) const throw() { return numInterleavedChannels * SampleFormatType::bytesPerSample; }
|
||||
int numInterleavedChannels;
|
||||
enum { isInterleavedType = 1 };
|
||||
};
|
||||
|
|
|
|||
|
|
@ -549,7 +549,7 @@ public:
|
|||
template <class SampleFormatType> inline void advanceData (SampleFormatType& s) throw() { s.skip (numInterleavedChannels); }
|
||||
template <class SampleFormatType> inline void advanceDataBy (SampleFormatType& s, int numSamples) throw() { s.skip (numInterleavedChannels * numSamples); }
|
||||
template <class SampleFormatType> inline void clear (SampleFormatType& s, int numSamples) throw() { while (--numSamples >= 0) { s.clear(); s.skip (numInterleavedChannels); } }
|
||||
template <class SampleFormatType> inline int getNumBytesBetweenSamples (const SampleFormatType& s) const throw() { return numInterleavedChannels * s.bytesPerSample; }
|
||||
template <class SampleFormatType> inline int getNumBytesBetweenSamples (const SampleFormatType&) const throw() { return numInterleavedChannels * SampleFormatType::bytesPerSample; }
|
||||
int numInterleavedChannels;
|
||||
enum { isInterleavedType = 1 };
|
||||
};
|
||||
|
|
|
|||
|
|
@ -142,9 +142,6 @@ public:
|
|||
/** Returns a reference to the address of the object that this ScopedPointer refers to. */
|
||||
inline ObjectType* const* operator&() const throw() { return static_cast <ObjectType* const*> (&object); }
|
||||
|
||||
/** Returns a reference to the address of the object that this ScopedPointer refers to. */
|
||||
inline ObjectType** operator&() throw() { return static_cast <ObjectType**> (&object); }
|
||||
|
||||
//==============================================================================
|
||||
/** Removes the current object from this ScopedPointer without deleting it.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue