blob: c6b12b88c149848e3b6803e8d4fb476dd7c30e11 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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;
|