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

Fixed some const violation errors

This commit is contained in:
Tom Poole 2017-12-19 12:44:24 +00:00
parent 03fef746d5
commit cff37f5b6a
32 changed files with 225 additions and 127 deletions

View file

@ -93,7 +93,8 @@ public:
This method does not check the range and results in undefined behaviour
in case i < 0 or i >= size().
*/
OSCArgument& operator[] (const int i) const noexcept;
OSCArgument& operator[] (const int i) noexcept;
const OSCArgument& operator[] (const int i) const noexcept;
/** Returns a pointer to the first OSCArgument in the OSCMessage object.
This method is provided for compatibility with standard C++ iteration mechanisms.
@ -108,7 +109,6 @@ public:
/** Removes all arguments from the OSCMessage. */
void clear();
//==============================================================================
/** Creates a new OSCArgument of type int32 with a given value
and adds it to the OSCMessage object.