Skip to content

Commit 6282407

Browse files
committed
remove std::format usage
1 parent 27f2f73 commit 6282407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/slick_queue/slick_queue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class SlickQueue {
180180
*/
181181
uint64_t reserve(uint32_t n = 1) {
182182
if (n > size_) [[unlikely]] {
183-
throw std::runtime_error(std::format("required size {} > queue size {}", n, size_));
183+
throw std::runtime_error("required size " + std::to_string(n) + " > queue size " + std::to_string(size_));
184184
}
185185
auto reserved = reserved_->load(std::memory_order_relaxed);
186186
reserved_info next;

0 commit comments

Comments
 (0)