Files
Korina Šimičević 40ad372736 Bump copyright year
Summary:
related to T15996

updates copyright year to 2025

Reviewers: ivica

Reviewed By: ivica

Subscribers: iljazovic, miljen

Differential Revision: https://repo.mireo.local/D33759
2025-02-17 10:47:39 +01:00

35 lines
832 B
C++

//
// Copyright (c) 2023-2025 Ivica Siladic, Bruno Iljazovic, Korina Simicevic
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_MQTT5_SSL_HPP
#define BOOST_MQTT5_SSL_HPP
#include <boost/mqtt5/detail/async_traits.hpp>
#include <boost/mqtt5/detail/shutdown.hpp>
#include <boost/mqtt5/types.hpp>
#include <boost/asio/ssl.hpp>
namespace boost::mqtt5 {
namespace detail {
// in namespace boost::mqtt5::detail to enable ADL
template <typename Stream, typename ShutdownHandler>
void async_shutdown(
boost::asio::ssl::stream<Stream>& stream, ShutdownHandler&& handler
) {
stream.async_shutdown(std::move(handler));
}
} // end namespace detail
} // end namespace boost::mqtt5
#endif // !BOOST_MQTT5_SSL_HPP