Skip to content

Commit

Permalink
Fixed bug in
Browse files Browse the repository at this point in the history
  • Loading branch information
cboulay committed Nov 20, 2020
1 parent 57b28ce commit 9b96b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream_inlet_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class stream_inlet_impl {
std::size_t samples_available() { return (std::size_t)(!data_receiver_.empty()); }

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

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

0 comments on commit 9b96b95

Please sign in to comment.