Skip to content

Commit

Permalink
Fix return type for pop, size, empty in README
Browse files Browse the repository at this point in the history
  • Loading branch information
rigtorp authored Dec 19, 2021
1 parent 6790b3f commit 945c7c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,16 @@ See `src/SPSCQueueExample.cpp` for the full example.
Return pointer to front of queue. Returns `nullptr` if queue is
empty.
- `pop();`
- `void pop();`
Dequeue first item of queue. Invalid to call if queue is
empty. Requires `std::is_nothrow_destructible<T>::value == true`.
- `size();`
- `size_t size();`
Return the number of items available in the queue.
- `empty();`
- `bool empty();`
Return true if queue is currently empty.
Expand Down

0 comments on commit 945c7c5

Please sign in to comment.