diff --git a/source/common/network/transport_socket_options_impl.cc b/source/common/network/transport_socket_options_impl.cc index bd476a0afa7b..fed22159d00e 100644 --- a/source/common/network/transport_socket_options_impl.cc +++ b/source/common/network/transport_socket_options_impl.cc @@ -1,5 +1,10 @@ #include "common/network/transport_socket_options_impl.h" +#include +#include +#include +#include + #include "common/common/scalar_to_byte_vector.h" #include "common/common/utility.h" #include "common/network/application_protocol.h" @@ -40,7 +45,7 @@ TransportSocketOptionsUtility::fromFilterState(const StreamInfo::FilterState& fi if (needs_transport_socket_options) { return std::make_shared( - server_name, std::vector{}, std::vector{application_protocols}); + server_name, std::vector{}, std::move(application_protocols)); } else { return nullptr; }