Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/dro/spsc-queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct StackBuffer {
std::array<T, capacity_ + (2 * padding)> buffer_;

explicit StackBuffer(const std::size_t capacity,
const Allocator &allocator = Allocator()) {
[[maybe_unused]] const Allocator &allocator = Allocator()) {
if (capacity) {
throw std::invalid_argument(
"Capacity in constructor is ignored for stack allocations");
Expand Down