diff options
Diffstat (limited to 'src/msg/async/AsyncConnection.h')
-rw-r--r-- | src/msg/async/AsyncConnection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msg/async/AsyncConnection.h b/src/msg/async/AsyncConnection.h index 78a590f8ca3..a4f18e2c4fb 100644 --- a/src/msg/async/AsyncConnection.h +++ b/src/msg/async/AsyncConnection.h @@ -223,7 +223,7 @@ private: std::unique_ptr<Protocol> protocol; - std::optional<std::function<void(ssize_t)>> writeCallback; + std::function<void(ssize_t)> writeCallback; std::function<void(char *, ssize_t)> readCallback; std::optional<unsigned> pendingReadLen; char *read_buffer; |