Skip to content

Commit

Permalink
🐛 implicit type conversion prevented importing the native library
Browse files Browse the repository at this point in the history
  • Loading branch information
BRomans authored May 22, 2024
1 parent 6a85d6f commit d28d60c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/lsl_cpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,8 @@ class stream_info {

/// lsl_stream_info_matches_query
bool matches_query(const char *query) const {
return lsl_stream_info_matches_query(obj.get(), query);
int result = lsl_stream_info_matches_query(obj.get(), query);
return result != 0;
}


Expand Down

0 comments on commit d28d60c

Please sign in to comment.