Skip to content

Commit fdff878

Browse files
committed
MSVC workaround: avoid int to bool conversation warning
1 parent 29d9556 commit fdff878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/lsl_cpp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ class stream_info {
324324

325325
/// lsl_stream_info_matches_query
326326
bool matches_query(const char *query) const {
327-
return lsl_stream_info_matches_query(obj.get(), query);
327+
return lsl_stream_info_matches_query(obj.get(), query) != 0;
328328
}
329329

330330

0 commit comments

Comments
 (0)