diff --git a/libs/openFrameworks/types/ofParameter.h b/libs/openFrameworks/types/ofParameter.h index 27fa0c4a733..a51ffccf875 100644 --- a/libs/openFrameworks/types/ofParameter.h +++ b/libs/openFrameworks/types/ofParameter.h @@ -589,6 +589,13 @@ class ofParameter : public ofAbstractParameter { ofParameter & operator=(const ofParameter & v); const ParameterType & operator=(const ParameterType & v); + template + typename std::enable_if_t, ofParameter&> + operator=(const char* value) { + set(std::string(value)); + return *this; + } + ParameterType operator++(int v); ofParameter & operator++();