mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
OSCMessage, OSCBundle: renamed empty() to isEmpty() for consistency with all other JUCE containers.
This commit is contained in:
parent
4d41bdd7c9
commit
50224491d4
3 changed files with 4 additions and 4 deletions
|
|
@ -103,7 +103,7 @@ public:
|
|||
int size() const noexcept { return elements.size(); }
|
||||
|
||||
/** Returns true if the bundle contains no elements; false otherwise. */
|
||||
bool empty() const noexcept { return elements.empty(); }
|
||||
bool isEmpty() const noexcept { return elements.isEmpty(); }
|
||||
|
||||
/** Returns a reference to the OSCBundle element at index i in this bundle.
|
||||
This method does not check the range and results in undefined behavour
|
||||
|
|
|
|||
|
|
@ -44,9 +44,9 @@ int OSCMessage::size() const noexcept
|
|||
return arguments.size();
|
||||
}
|
||||
|
||||
bool OSCMessage::empty() const noexcept
|
||||
bool OSCMessage::isEmpty() const noexcept
|
||||
{
|
||||
return arguments.empty();
|
||||
return arguments.isEmpty();
|
||||
}
|
||||
|
||||
OSCArgument& OSCMessage::operator[] (const int i) const noexcept
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ public:
|
|||
int size() const noexcept;
|
||||
|
||||
/** Returns true if the OSCMessage contains no OSCArgument objects; false otherwise. */
|
||||
bool empty() const noexcept;
|
||||
bool isEmpty() const noexcept;
|
||||
|
||||
/** Returns a reference to the OSCArgument at index i in the OSCMessage object.
|
||||
This method does not check the range and results in undefined behavour
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue