From: Casey Bodley Date: Fri, 14 Sep 2018 17:17:44 +0000 (-0400) Subject: crimson/net: use std::optional instead of boost X-Git-Tag: v14.0.1~266^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a4019cdd4585880310902e999422bce103477056;p=ceph-ci.git crimson/net: use std::optional instead of boost Signed-off-by: Casey Bodley --- diff --git a/src/crimson/net/SocketMessenger.h b/src/crimson/net/SocketMessenger.h index a9867a20cb3..84e972a413c 100644 --- a/src/crimson/net/SocketMessenger.h +++ b/src/crimson/net/SocketMessenger.h @@ -15,7 +15,7 @@ #pragma once #include -#include +#include #include #include "msg/Policy.h" @@ -27,7 +27,7 @@ namespace ceph::net { using SocketPolicy = ceph::net::Policy; class SocketMessenger final : public Messenger { - boost::optional listener; + std::optional listener; Dispatcher *dispatcher = nullptr; std::map connections; using Throttle = ceph::thread::Throttle;