Skip to content

Commit

Permalink
more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
2bbb committed Sep 30, 2021
1 parent 08e1b33 commit fd240e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/details/Subscriber/ofxOscSubscribeParameter.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ namespace ofx {


#pragma mark load for ParameterRef
inline void load(ofxOscMessageEx &m, ParameterRef &ref, std::size_t offset = 0) {
inline void load(const ofxOscMessageEx &m, ParameterRef &ref, std::size_t offset = 0) {
ref->read(m, offset);
}

inline void load(ofxOscMessageEx &m, std::vector<ParameterRef> &v, std::size_t offset = 0) {
inline void load(const ofxOscMessageEx &m, std::vector<ParameterRef> &v, std::size_t offset = 0) {
std::size_t o = 0;
for(std::size_t i = 0; i < v.size(); i++) {
if(m.getNumArgs() < offset + o + v[i]->size()) {
Expand Down

0 comments on commit fd240e9

Please sign in to comment.