nixpkgs-suyu/pkgs/servers/redpanda/seastar-fixes.patch
Alexey Vakhrenev 1393d2262b redpanda: 22.3.11 -> 22.3.13
Build rpk from source. Add redpanda server.
2023-02-17 03:23:27 -05:00

13 lines
552 B
Diff

diff --git a/include/seastar/core/std-coroutine.hh b/include/seastar/core/std-coroutine.hh
index ea364bee..57474529 100644
--- a/include/seastar/core/std-coroutine.hh
+++ b/include/seastar/core/std-coroutine.hh
@@ -87,7 +87,7 @@ class coroutine_handle<void> {
explicit operator bool() const noexcept { return _pointer; }
- static coroutine_handle from_address(void* ptr) noexcept {
+ static constexpr coroutine_handle from_address(void* ptr) noexcept {
coroutine_handle hndl;
hndl._pointer = ptr;
return hndl;