commit | bc8958fec769e4c3f99b2fb8b64dd45eb414cf5b | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Mon Jul 04 09:29:49 2022 +0800 |
committer | George Liu <liuxiwei@inspur.com> | Mon Jul 04 17:27:26 2022 +0800 |
tree | 9be7fb5ee88c616d2c272208fe221d548bed9674 | |
parent | aa8b541d6b4aba53a3a0b39d9123f433cb5cc5e7 [diff] [blame] |
Update to latest clang-format Refer:https://github.com/openbmc/docs/blob/ac5d544553934f8083c61c5986a1420261bc8a4c/style/cpp/.clang-format Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I1e06864afc29ce7de463e62fa2a0eb6f70e8fd93
diff --git a/socket_channel.hpp b/socket_channel.hpp index b993f0e..7179e2c 100644 --- a/socket_channel.hpp +++ b/socket_channel.hpp
@@ -4,9 +4,10 @@ #include <sys/types.h> #include <boost/asio/ip/udp.hpp> +#include <phosphor-logging/log.hpp> + #include <memory> #include <optional> -#include <phosphor-logging/log.hpp> #include <string> #include <tuple> #include <variant> @@ -42,8 +43,7 @@ */ explicit Channel(std::shared_ptr<boost::asio::ip::udp::socket> socket) : socket(socket) - { - } + {} /** * @brief Check if ip address is ipv4 mapped ipv6 *