Signed-off-by: Casey Bodley <cbodley@redhat.com>
#pragma once
#include <map>
-#include <boost/optional.hpp>
+#include <optional>
#include <seastar/core/reactor.hh>
#include "msg/Policy.h"
using SocketPolicy = ceph::net::Policy<ceph::thread::Throttle>;
class SocketMessenger final : public Messenger {
- boost::optional<seastar::server_socket> listener;
+ std::optional<seastar::server_socket> listener;
Dispatcher *dispatcher = nullptr;
std::map<entity_addr_t, ConnectionRef> connections;
using Throttle = ceph::thread::Throttle;