Skip to content

Commit

Permalink
fix #678
Browse files Browse the repository at this point in the history
and probably also #677
  • Loading branch information
avilleret committed Jan 16, 2021
1 parent 79b0226 commit b2045b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ossia-max/src/object_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ std::vector<std::shared_ptr<matcher>> object_base::find_or_create_matchers()
size_t pos = addr.find(":/");
if (pos == std::string::npos) return {};

ossia::string_view prefix = addr.substr(0,pos);
std::string prefix = addr.substr(0,pos);
// remove 'device_name:/' prefix
ossia::string_view osc_name = addr.substr(pos+2);
std::string osc_name = addr.substr(pos+2);

bool is_prefix_pattern = ossia::traversal::is_pattern(prefix);
bool is_osc_name_pattern = ossia::traversal::is_pattern(osc_name);
Expand Down

0 comments on commit b2045b6

Please sign in to comment.