Skip to content

Commit

Permalink
MSVC workaround: avoid int to bool conversation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tstenner committed May 23, 2024
1 parent 29d9556 commit fdff878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/lsl_cpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ class stream_info {

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


Expand Down

0 comments on commit fdff878

Please sign in to comment.