1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Really minor clean-ups.

This commit is contained in:
jules 2014-01-12 18:06:48 +00:00
parent 01dc36d29d
commit 76c8400049
34 changed files with 142 additions and 143 deletions

View file

@ -174,7 +174,7 @@ public:
private:
AudioSampleBuffer testSound, recordedSound;
Array <int> spikePositions;
Array<int> spikePositions;
int playingSampleNum, recordedSampleNum;
CriticalSection lock;
double sampleRate;
@ -220,14 +220,14 @@ private:
const float* s = buffer.getSampleData (0, 0);
const int spikeDriftAllowed = 5;
Array <int> spikesFound;
Array<int> spikesFound;
spikesFound.ensureStorageAllocated (100);
double runningAverage = 0;
int lastSpike = 0;
for (int i = 0; i < buffer.getNumSamples() - 10; ++i)
{
const float samp = fabsf (s[i]);
const float samp = std::abs (s[i]);
if (samp > runningAverage * minSpikeLevel && i > lastSpike + 20)
{

View file

@ -68,7 +68,7 @@ public:
for (int chan = 0; chan < numInputChannels; ++chan)
if (inputChannelData[chan] != nullptr)
inputSample += fabsf (inputChannelData[chan][i]); // find the sum of all the channels
inputSample += std::abs (inputChannelData[chan][i]); // find the sum of all the channels
pushSample (10.0f * inputSample); // boost the level to make it more easily visible.
}

View file

@ -79,16 +79,16 @@ public:
y += dy;
if (x < 0)
dx = fabsf (dx);
dx = std::abs (dx);
if (x > parentWidth)
dx = -fabsf (dx);
dx = -std::abs (dx);
if (y < 0)
dy = fabsf (dy);
dy = std::abs (dy);
if (y > parentHeight)
dy = -fabsf (dy);
dy = -std::abs (dy);
setBounds (((int) x) - 2,
((int) y) - 2,

View file

@ -238,7 +238,7 @@ private:
return findFirstTargetParentComponent();
}
void getAllCommands (Array <CommandID>& commands) override
void getAllCommands (Array<CommandID>& commands) override
{
// this returns the set of all commands that this target can perform..
const CommandID ids[] = { MainAppWindow::showPreviousDemo,

View file

@ -627,8 +627,8 @@ public:
const Rectangle<int> newBounds ((int) jmin (x1, x2) - 4,
(int) jmin (y1, y2) - 4,
(int) fabsf (x1 - x2) + 8,
(int) fabsf (y1 - y2) + 8);
(int) std::abs (x1 - x2) + 8,
(int) std::abs (y1 - y2) + 8);
if (newBounds != getBounds())
setBounds (newBounds);

View file

@ -30,7 +30,7 @@ NamedValueSet::NamedValue::NamedValue() noexcept
{
}
inline NamedValueSet::NamedValue::NamedValue (const Identifier n, const var& v)
inline NamedValueSet::NamedValue::NamedValue (Identifier n, const var& v)
: name (n), value (v)
{
}
@ -49,22 +49,22 @@ NamedValueSet::NamedValue& NamedValueSet::NamedValue::operator= (const NamedValu
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
NamedValueSet::NamedValue::NamedValue (NamedValue&& other) noexcept
: nextListItem (static_cast <LinkedListPointer<NamedValue>&&> (other.nextListItem)),
name (static_cast <Identifier&&> (other.name)),
value (static_cast <var&&> (other.value))
: nextListItem (static_cast<LinkedListPointer<NamedValue>&&> (other.nextListItem)),
name (static_cast<Identifier&&> (other.name)),
value (static_cast<var&&> (other.value))
{
}
inline NamedValueSet::NamedValue::NamedValue (const Identifier n, var&& v)
: name (n), value (static_cast <var&&> (v))
inline NamedValueSet::NamedValue::NamedValue (Identifier n, var&& v)
: name (n), value (static_cast<var&&> (v))
{
}
NamedValueSet::NamedValue& NamedValueSet::NamedValue::operator= (NamedValue&& other) noexcept
{
nextListItem = static_cast <LinkedListPointer<NamedValue>&&> (other.nextListItem);
name = static_cast <Identifier&&> (other.name);
value = static_cast <var&&> (other.value);
nextListItem = static_cast<LinkedListPointer<NamedValue>&&> (other.nextListItem);
name = static_cast<Identifier&&> (other.name);
value = static_cast<var&&> (other.value);
return *this;
}
#endif
@ -268,7 +268,7 @@ void NamedValueSet::setFromXmlAttributes (const XmlElement& xml)
for (int i = 0; i < numAtts; ++i)
{
const String& name = xml.getAttributeName (i);
const String& name = xml.getAttributeName (i);
const String& value = xml.getAttributeValue (i);
if (name.startsWith ("base64:"))

View file

@ -43,21 +43,21 @@ public:
NamedValueSet() noexcept;
/** Creates a copy of another set. */
NamedValueSet (const NamedValueSet& other);
NamedValueSet (const NamedValueSet&);
/** Replaces this set with a copy of another set. */
NamedValueSet& operator= (const NamedValueSet& other);
NamedValueSet& operator= (const NamedValueSet&);
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
NamedValueSet (NamedValueSet&& other) noexcept;
NamedValueSet& operator= (NamedValueSet&& other) noexcept;
NamedValueSet (NamedValueSet&&) noexcept;
NamedValueSet& operator= (NamedValueSet&&) noexcept;
#endif
/** Destructor. */
~NamedValueSet();
bool operator== (const NamedValueSet& other) const;
bool operator!= (const NamedValueSet& other) const;
bool operator== (const NamedValueSet&) const;
bool operator!= (const NamedValueSet&) const;
//==============================================================================
/** Returns the total number of values that the set contains. */
@ -135,14 +135,14 @@ private:
public:
NamedValue() noexcept;
NamedValue (const NamedValue&);
NamedValue (const Identifier name, const var& value);
NamedValue (Identifier, const var&);
NamedValue& operator= (const NamedValue&);
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
NamedValue (NamedValue&&) noexcept;
NamedValue (const Identifier name, var&& value);
NamedValue (Identifier, var&&);
NamedValue& operator= (NamedValue&&) noexcept;
#endif
bool operator== (const NamedValue& other) const noexcept;
bool operator== (const NamedValue&) const noexcept;
LinkedListPointer<NamedValue> nextListItem;
Identifier name;

View file

@ -101,7 +101,7 @@ public:
/** Merges another search path into this one.
This will remove any duplicate directories.
*/
void addPath (const FileSearchPath& other);
void addPath (const FileSearchPath&);
/** Removes any directories that are actually subdirectories of one of the other directories in the search path.

View file

@ -65,11 +65,11 @@ public:
BigInteger (int64 value);
/** Creates a copy of another BigInteger. */
BigInteger (const BigInteger& other);
BigInteger (const BigInteger&);
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
BigInteger (BigInteger&& other) noexcept;
BigInteger& operator= (BigInteger&& other) noexcept;
BigInteger (BigInteger&&) noexcept;
BigInteger& operator= (BigInteger&&) noexcept;
#endif
/** Destructor. */
@ -77,10 +77,10 @@ public:
//==============================================================================
/** Copies another BigInteger onto this one. */
BigInteger& operator= (const BigInteger& other);
BigInteger& operator= (const BigInteger&);
/** Swaps the internal contents of this with another object. */
void swapWith (BigInteger& other) noexcept;
void swapWith (BigInteger&) noexcept;
//==============================================================================
/** Returns the value of a specified bit in the number.
@ -183,14 +183,14 @@ public:
//==============================================================================
// All the standard arithmetic ops...
BigInteger& operator+= (const BigInteger& other);
BigInteger& operator-= (const BigInteger& other);
BigInteger& operator*= (const BigInteger& other);
BigInteger& operator/= (const BigInteger& other);
BigInteger& operator|= (const BigInteger& other);
BigInteger& operator&= (const BigInteger& other);
BigInteger& operator^= (const BigInteger& other);
BigInteger& operator%= (const BigInteger& other);
BigInteger& operator+= (const BigInteger&);
BigInteger& operator-= (const BigInteger&);
BigInteger& operator*= (const BigInteger&);
BigInteger& operator/= (const BigInteger&);
BigInteger& operator|= (const BigInteger&);
BigInteger& operator&= (const BigInteger&);
BigInteger& operator^= (const BigInteger&);
BigInteger& operator%= (const BigInteger&);
BigInteger& operator<<= (int numBitsToShift);
BigInteger& operator>>= (int numBitsToShift);
BigInteger& operator++();
@ -199,23 +199,23 @@ public:
BigInteger operator-- (int);
BigInteger operator-() const;
BigInteger operator+ (const BigInteger& other) const;
BigInteger operator- (const BigInteger& other) const;
BigInteger operator* (const BigInteger& other) const;
BigInteger operator/ (const BigInteger& other) const;
BigInteger operator| (const BigInteger& other) const;
BigInteger operator& (const BigInteger& other) const;
BigInteger operator^ (const BigInteger& other) const;
BigInteger operator% (const BigInteger& other) const;
BigInteger operator+ (const BigInteger&) const;
BigInteger operator- (const BigInteger&) const;
BigInteger operator* (const BigInteger&) const;
BigInteger operator/ (const BigInteger&) const;
BigInteger operator| (const BigInteger&) const;
BigInteger operator& (const BigInteger&) const;
BigInteger operator^ (const BigInteger&) const;
BigInteger operator% (const BigInteger&) const;
BigInteger operator<< (int numBitsToShift) const;
BigInteger operator>> (int numBitsToShift) const;
bool operator== (const BigInteger& other) const noexcept;
bool operator!= (const BigInteger& other) const noexcept;
bool operator< (const BigInteger& other) const noexcept;
bool operator<= (const BigInteger& other) const noexcept;
bool operator> (const BigInteger& other) const noexcept;
bool operator>= (const BigInteger& other) const noexcept;
bool operator== (const BigInteger&) const noexcept;
bool operator!= (const BigInteger&) const noexcept;
bool operator< (const BigInteger&) const noexcept;
bool operator<= (const BigInteger&) const noexcept;
bool operator> (const BigInteger&) const noexcept;
bool operator>= (const BigInteger&) const noexcept;
//==============================================================================
/** Does a signed comparison of two BigIntegers.
@ -243,8 +243,7 @@ public:
*/
void divideBy (const BigInteger& divisor, BigInteger& remainder);
/** Returns the largest value that will divide both this value and the one passed-in.
*/
/** Returns the largest value that will divide both this value and the one passed-in. */
BigInteger findGreatestCommonDivisor (BigInteger other) const;
/** Performs a combined exponent and modulo operation.
@ -310,12 +309,12 @@ public:
private:
//==============================================================================
HeapBlock <uint32> values;
HeapBlock<uint32> values;
size_t numValues;
int highestBit;
bool negative;
void ensureSize (size_t numVals);
void ensureSize (size_t);
void shiftLeft (int bits, int startBit);
void shiftRight (int bits, int startBit);

View file

@ -59,14 +59,14 @@ public:
explicit Expression (double constant);
/** Creates a copy of an expression. */
Expression (const Expression& other);
Expression (const Expression&);
/** Copies another expression. */
Expression& operator= (const Expression& other);
Expression& operator= (const Expression&);
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
Expression (Expression&& other) noexcept;
Expression& operator= (Expression&& other) noexcept;
Expression (Expression&&) noexcept;
Expression& operator= (Expression&&) noexcept;
#endif
/** Creates an expression by parsing a string.
@ -78,14 +78,14 @@ public:
/** Returns a string version of the expression. */
String toString() const;
/** Returns an expression which is an addtion operation of two existing expressions. */
Expression operator+ (const Expression& other) const;
/** Returns an expression which is an addition operation of two existing expressions. */
Expression operator+ (const Expression&) const;
/** Returns an expression which is a subtraction operation of two existing expressions. */
Expression operator- (const Expression& other) const;
Expression operator- (const Expression&) const;
/** Returns an expression which is a multiplication operation of two existing expressions. */
Expression operator* (const Expression& other) const;
Expression operator* (const Expression&) const;
/** Returns an expression which is a division operation of two existing expressions. */
Expression operator/ (const Expression& other) const;
Expression operator/ (const Expression&) const;
/** Returns an expression which performs a negation operation on an existing expression. */
Expression operator-() const;

View file

@ -51,10 +51,10 @@ public:
MACAddress();
/** Creates a copy of another address. */
MACAddress (const MACAddress& other);
MACAddress (const MACAddress&);
/** Creates a copy of another address. */
MACAddress& operator= (const MACAddress& other);
MACAddress& operator= (const MACAddress&);
/** Creates an address from 6 bytes. */
explicit MACAddress (const uint8 bytes[6]);
@ -75,8 +75,8 @@ public:
/** Returns true if this address is null (00-00-00-00-00-00). */
bool isNull() const noexcept;
bool operator== (const MACAddress& other) const noexcept;
bool operator!= (const MACAddress& other) const noexcept;
bool operator== (const MACAddress&) const noexcept;
bool operator!= (const MACAddress&) const noexcept;
//==============================================================================
private:

View file

@ -42,10 +42,10 @@ public:
BlowFish (const void* keyData, int keyBytes);
/** Creates a copy of another blowfish object. */
BlowFish (const BlowFish& other);
BlowFish (const BlowFish&);
/** Copies another blowfish object. */
BlowFish& operator= (const BlowFish& other) noexcept;
BlowFish& operator= (const BlowFish&) noexcept;
/** Destructor. */
~BlowFish() noexcept;

View file

@ -151,8 +151,8 @@ public:
*/
bool isRadial;
bool operator== (const ColourGradient& other) const noexcept;
bool operator!= (const ColourGradient& other) const noexcept;
bool operator== (const ColourGradient&) const noexcept;
bool operator!= (const ColourGradient&) const noexcept;
private:
@ -165,14 +165,14 @@ private:
: position (pos), colour (col)
{}
bool operator== (const ColourPoint& other) const noexcept;
bool operator!= (const ColourPoint& other) const noexcept;
bool operator== (const ColourPoint&) const noexcept;
bool operator!= (const ColourPoint&) const noexcept;
double position;
Colour colour;
};
Array <ColourPoint> colours;
Array<ColourPoint> colours;
JUCE_LEAK_DETECTOR (ColourGradient)
};

View file

@ -59,14 +59,14 @@ public:
FillType (const Image& image, const AffineTransform& transform) noexcept;
/** Creates a copy of another FillType. */
FillType (const FillType& other);
FillType (const FillType&);
/** Makes a copy of another FillType. */
FillType& operator= (const FillType& other);
FillType& operator= (const FillType&);
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
FillType (FillType&& other) noexcept;
FillType& operator= (FillType&& other) noexcept;
FillType (FillType&&) noexcept;
FillType& operator= (FillType&&) noexcept;
#endif
/** Destructor. */
@ -138,8 +138,8 @@ public:
AffineTransform transform;
//==============================================================================
bool operator== (const FillType& other) const;
bool operator!= (const FillType& other) const;
bool operator== (const FillType&) const;
bool operator!= (const FillType&) const;
private:
JUCE_LEAK_DETECTOR (FillType)

View file

@ -44,8 +44,8 @@ public:
PositionedGlyph (const Font& font, juce_wchar character, int glyphNumber,
float anchorX, float baselineY, float width, bool isWhitespace);
PositionedGlyph (const PositionedGlyph& other);
PositionedGlyph& operator= (const PositionedGlyph& other);
PositionedGlyph (const PositionedGlyph&);
PositionedGlyph& operator= (const PositionedGlyph&);
~PositionedGlyph();
/** Returns the character the glyph represents. */
@ -209,10 +209,10 @@ public:
float minimumHorizontalScale = 0.7f);
/** Appends another glyph arrangement to this one. */
void addGlyphArrangement (const GlyphArrangement& other);
void addGlyphArrangement (const GlyphArrangement&);
/** Appends a custom glyph to the arrangement. */
void addGlyph (const PositionedGlyph& glyph);
void addGlyph (const PositionedGlyph&);
//==============================================================================
/** Draws this glyph arrangement to a graphics context.

View file

@ -62,10 +62,10 @@ public:
explicit EdgeTable (const Rectangle<float>& rectangleToAdd);
/** Creates a copy of another edge table. */
EdgeTable (const EdgeTable& other);
EdgeTable (const EdgeTable&);
/** Copies from another edge table. */
EdgeTable& operator= (const EdgeTable& other);
EdgeTable& operator= (const EdgeTable&);
/** Destructor. */
~EdgeTable();
@ -73,7 +73,7 @@ public:
//==============================================================================
void clipToRectangle (const Rectangle<int>& r);
void excludeRectangle (const Rectangle<int>& r);
void clipToEdgeTable (const EdgeTable& other);
void clipToEdgeTable (const EdgeTable&);
void clipLineToMask (int x, int y, const uint8* mask, int maskStride, int numPixels);
bool isEmpty() noexcept;
const Rectangle<int>& getMaximumBounds() const noexcept { return bounds; }

View file

@ -67,21 +67,21 @@ public:
Path();
/** Creates a copy of another path. */
Path (const Path& other);
Path (const Path&);
/** Destructor. */
~Path();
/** Copies this path from another one. */
Path& operator= (const Path& other);
Path& operator= (const Path&);
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
Path (Path&& other) noexcept;
Path& operator= (Path&& other) noexcept;
Path (Path&&) noexcept;
Path& operator= (Path&&) noexcept;
#endif
bool operator== (const Path& other) const noexcept;
bool operator!= (const Path& other) const noexcept;
bool operator== (const Path&) const noexcept;
bool operator!= (const Path&) const noexcept;
//==============================================================================
/** Returns true if the path doesn't contain any lines or curves. */
@ -558,7 +558,7 @@ public:
The internal data of the two paths is swapped over, so this is much faster than
copying it to a temp variable and back.
*/
void swapWithPath (Path& other) noexcept;
void swapWithPath (Path&) noexcept;
//==============================================================================
/** Applies a 2D transform to all the vertices in the path.

View file

@ -106,7 +106,7 @@ public:
point to the same shared image data. To make sure that an Image object has its own unique,
unshared internal data, call duplicateIfShared().
*/
Image (const Image& other);
Image (const Image&);
/** Makes this image refer to the same underlying image as another object.
@ -117,7 +117,7 @@ public:
Image& operator= (const Image&);
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
Image (Image&& other) noexcept;
Image (Image&&) noexcept;
Image& operator= (Image&&) noexcept;
#endif

View file

@ -84,7 +84,7 @@ private:
struct SavedState
{
SavedState();
SavedState (const SavedState& other);
SavedState (const SavedState&);
~SavedState();
void setFill (const FillType& newFill);

View file

@ -45,13 +45,13 @@ public:
inline RectanglePlacement() noexcept : flags (centred) {}
/** Creates a copy of another RectanglePlacement object. */
RectanglePlacement (const RectanglePlacement& other) noexcept;
RectanglePlacement (const RectanglePlacement&) noexcept;
/** Copies another RectanglePlacement object. */
RectanglePlacement& operator= (const RectanglePlacement& other) noexcept;
RectanglePlacement& operator= (const RectanglePlacement&) noexcept;
bool operator== (const RectanglePlacement& other) const noexcept;
bool operator!= (const RectanglePlacement& other) const noexcept;
bool operator== (const RectanglePlacement&) const noexcept;
bool operator!= (const RectanglePlacement&) const noexcept;
//==============================================================================
/** Flag values that can be combined and used in the constructor. */

View file

@ -50,7 +50,7 @@ ApplicationCommandTarget* JUCEApplication::getNextCommandTarget()
return nullptr;
}
void JUCEApplication::getAllCommands (Array <CommandID>& commands)
void JUCEApplication::getAllCommands (Array<CommandID>& commands)
{
commands.add (StandardApplicationCommandIDs::quit);
}

View file

@ -176,7 +176,7 @@ public:
/** @internal */
void getCommandInfo (CommandID, ApplicationCommandInfo&);
/** @internal */
void getAllCommands (Array <CommandID>&);
void getAllCommands (Array<CommandID>&);
/** @internal */
bool perform (const InvocationInfo&);

View file

@ -40,7 +40,7 @@ public:
DrawableComposite();
/** Creates a copy of a DrawableComposite. */
DrawableComposite (const DrawableComposite& other);
DrawableComposite (const DrawableComposite&);
/** Destructor. */
~DrawableComposite();

View file

@ -37,7 +37,7 @@ class JUCE_API DrawableImage : public Drawable
public:
//==============================================================================
DrawableImage();
DrawableImage (const DrawableImage& other);
DrawableImage (const DrawableImage&);
/** Destructor. */
~DrawableImage();

View file

@ -40,7 +40,7 @@ public:
//==============================================================================
/** Creates a DrawablePath. */
DrawablePath();
DrawablePath (const DrawablePath& other);
DrawablePath (const DrawablePath&);
/** Destructor. */
~DrawablePath();

View file

@ -39,7 +39,7 @@ class JUCE_API DrawableRectangle : public DrawableShape
public:
//==============================================================================
DrawableRectangle();
DrawableRectangle (const DrawableRectangle& other);
DrawableRectangle (const DrawableRectangle&);
/** Destructor. */
~DrawableRectangle();

View file

@ -38,7 +38,7 @@ public:
//==============================================================================
/** Creates a DrawableText object. */
DrawableText();
DrawableText (const DrawableText& other);
DrawableText (const DrawableText&);
/** Destructor. */
~DrawableText();

View file

@ -40,9 +40,9 @@ public:
/** Creates an empty marker list. */
MarkerList();
/** Creates a copy of another marker list. */
MarkerList (const MarkerList& other);
MarkerList (const MarkerList&);
/** Copies another marker list to this one. */
MarkerList& operator= (const MarkerList& other);
MarkerList& operator= (const MarkerList&);
/** Destructor. */
~MarkerList();
@ -52,7 +52,7 @@ public:
{
public:
/** Creates a copy of another Marker. */
Marker (const Marker& other);
Marker (const Marker&);
/** Creates a Marker with a given name and position. */
Marker (const String& name, const RelativeCoordinate& position);
@ -110,9 +110,9 @@ public:
void removeMarker (const String& name);
/** Returns true if all the markers in these two lists match exactly. */
bool operator== (const MarkerList& other) const noexcept;
bool operator== (const MarkerList&) const noexcept;
/** Returns true if not all the markers in these two lists match exactly. */
bool operator!= (const MarkerList& other) const noexcept;
bool operator!= (const MarkerList&) const noexcept;
//==============================================================================
/**

View file

@ -39,12 +39,12 @@ public:
/** Creates a zero coordinate. */
RelativeCoordinate();
RelativeCoordinate (const Expression& expression);
RelativeCoordinate (const RelativeCoordinate& other);
RelativeCoordinate& operator= (const RelativeCoordinate& other);
RelativeCoordinate (const RelativeCoordinate&);
RelativeCoordinate& operator= (const RelativeCoordinate&);
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
RelativeCoordinate (RelativeCoordinate&& other) noexcept;
RelativeCoordinate& operator= (RelativeCoordinate&& other) noexcept;
RelativeCoordinate (RelativeCoordinate&&) noexcept;
RelativeCoordinate& operator= (RelativeCoordinate&&) noexcept;
#endif
/** Creates an absolute position from the parent origin on either the X or Y axis.
@ -63,8 +63,8 @@ public:
/** Destructor. */
~RelativeCoordinate();
bool operator== (const RelativeCoordinate& other) const noexcept;
bool operator!= (const RelativeCoordinate& other) const noexcept;
bool operator== (const RelativeCoordinate&) const noexcept;
bool operator!= (const RelativeCoordinate&) const noexcept;
//==============================================================================
/** Calculates the absolute position of this coordinate.

View file

@ -50,8 +50,8 @@ public:
AffineTransform resetToPerpendicular (Expression::Scope* scope);
bool isDynamic() const;
bool operator== (const RelativeParallelogram& other) const noexcept;
bool operator!= (const RelativeParallelogram& other) const noexcept;
bool operator== (const RelativeParallelogram&) const noexcept;
bool operator!= (const RelativeParallelogram&) const noexcept;
static Point<float> getInternalCoordForPoint (const Point<float>* parallelogramCorners, Point<float> point) noexcept;
static Point<float> getPointForInternalCoord (const Point<float>* parallelogramCorners, Point<float> internalPoint) noexcept;

View file

@ -54,8 +54,8 @@ public:
*/
RelativePoint (const String& stringVersion);
bool operator== (const RelativePoint& other) const noexcept;
bool operator!= (const RelativePoint& other) const noexcept;
bool operator== (const RelativePoint&) const noexcept;
bool operator!= (const RelativePoint&) const noexcept;
/** Calculates the absolute position of this point.

View file

@ -40,12 +40,12 @@ class JUCE_API RelativePointPath
public:
//==============================================================================
RelativePointPath();
RelativePointPath (const RelativePointPath& other);
RelativePointPath (const RelativePointPath&);
explicit RelativePointPath (const Path& path);
~RelativePointPath();
bool operator== (const RelativePointPath& other) const noexcept;
bool operator!= (const RelativePointPath& other) const noexcept;
bool operator== (const RelativePointPath&) const noexcept;
bool operator!= (const RelativePointPath&) const noexcept;
//==============================================================================
/** Resolves this points in this path and adds them to a normal Path object. */
@ -55,7 +55,7 @@ public:
bool containsAnyDynamicPoints() const;
/** Quickly swaps the contents of this path with another. */
void swapWith (RelativePointPath& other) noexcept;
void swapWith (RelativePointPath&) noexcept;
//==============================================================================
/** The types of element that may be contained in this path.

View file

@ -56,8 +56,8 @@ public:
*/
explicit RelativeRectangle (const String& stringVersion);
bool operator== (const RelativeRectangle& other) const noexcept;
bool operator!= (const RelativeRectangle& other) const noexcept;
bool operator== (const RelativeRectangle&) const noexcept;
bool operator!= (const RelativeRectangle&) const noexcept;
//==============================================================================
/** Calculates the absolute position of this rectangle.

View file

@ -93,15 +93,15 @@ public:
This will copy the position, but the new object will not be set to maintain its position,
even if the source object was set to do so.
*/
Position (const Position& other) noexcept;
Position (const Position&) noexcept;
/** Destructor. */
~Position();
Position& operator= (const Position& other);
Position& operator= (const Position&);
bool operator== (const Position& other) const noexcept;
bool operator!= (const Position& other) const noexcept;
bool operator== (const Position&) const noexcept;
bool operator!= (const Position&) const noexcept;
/** Points this object at a new position within the document.
@ -355,8 +355,8 @@ public:
{
public:
Iterator (const CodeDocument& document) noexcept;
Iterator (const Iterator& other) noexcept;
Iterator& operator= (const Iterator& other) noexcept;
Iterator (const Iterator&) noexcept;
Iterator& operator= (const Iterator&) noexcept;
~Iterator() noexcept;
/** Reads the next character and returns it.