Skip to content

Commit 11ffb3c

Browse files
committed
Fix wrong return type in documentation
1 parent a71d4c6 commit 11ffb3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ t2.join();
5959
Try to enqueue an item using inplace construction. Returns `true` on
6060
success and `false` if queue is full.
6161
62-
- `bool push(const T &v);`
62+
- `void push(const T &v);`
6363
6464
Enqueue an item using copy construction. Blocks if queue is full.
6565
66-
- `template <typename P> bool push(P &&v);`
66+
- `template <typename P> void push(P &&v);`
6767
6868
Enqueue an item using move construction. Participates in overload
6969
resolution only if `std::is_nothrow_constructible<T, P&&>::value ==
@@ -132,7 +132,7 @@ the implementation:
132132
133133
## TODO
134134
135-
- [ ] Add allocator supports so that the queue could be used with huge pages and
135+
- [X] Add allocator supports so that the queue could be used with huge pages and
136136
shared memory
137137
- [ ] Add benchmarks and compare to `boost::lockfree::queue` and others
138138
- [ ] Use C++20 concepts instead of `static_assert` if available

0 commit comments

Comments
 (0)