depot/third_party/nixpkgs/pkgs/servers/redpanda/seastar-fixes.patch
Default email 5557ff764c Project import generated by Copybara.
GitOrigin-RevId: 988cc958c57ce4350ec248d2d53087777f9e1949
2023-02-22 11:55:15 +01: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;