Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ofxOscMessage: extra implicit adds [fixes something noted through #7938 debugging] #7953

Merged
merged 2 commits into from
May 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions addons/ofxOsc/src/ofxOscMessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ class ofxOscMessage {
/// \return a reference to this ofxOscMessage
ofxOscMessage & addInt64Arg(std::int64_t argument);
ofxOscMessage & add(std::int64_t argument) { return addInt64Arg(argument); }
ofxOscMessage & add(size_t argument) { return addInt64Arg(argument); }

/// add a 32-bit float
/// \return a reference to this ofxOscMessage
Expand All @@ -206,6 +207,7 @@ class ofxOscMessage {
/// \return a reference to this ofxOscMessage
ofxOscMessage & addStringArg(const std::string & argument);
ofxOscMessage & add(const std::string & argument) { return addStringArg(argument); }
ofxOscMessage & add(const char * argument) { return addStringArg(argument); }

/// add a symbol (string)
/// \return a reference to this ofxOscMessage
Expand Down