Skip to content

Commit 9b96b95

Browse files
committed
Fixed bug in
1 parent 57b28ce commit 9b96b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream_inlet_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ class stream_inlet_impl {
305305
std::size_t samples_available() { return (std::size_t)(!data_receiver_.empty()); }
306306

307307
/// Flush the queue, return the number of dropped samples
308-
uint32_t flush() { return !data_receiver_.flush(); }
308+
uint32_t flush() { return data_receiver_.flush(); }
309309

310310
/** Query whether the clock was potentially reset since the last call to was_clock_reset().
311311
*

0 commit comments

Comments
 (0)