From a4019cdd4585880310902e999422bce103477056 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Fri, 14 Sep 2018 13:17:44 -0400 Subject: [PATCH] crimson/net: use std::optional instead of boost Signed-off-by: Casey Bodley --- src/crimson/net/SocketMessenger.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crimson/net/SocketMessenger.h b/src/crimson/net/SocketMessenger.h index a9867a20cb3f0..84e972a413ca0 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; -- 2.39.5