From 4865bbdc361fb54acf296512ca55e8a15102c952 Mon Sep 17 00:00:00 2001 From: ChenYing Kuo Date: Mon, 16 Dec 2024 14:45:43 +0800 Subject: [PATCH] Fix the coding style. Signed-off-by: ChenYing Kuo --- rmw_zenoh_cpp/src/detail/zenoh_utils.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rmw_zenoh_cpp/src/detail/zenoh_utils.hpp b/rmw_zenoh_cpp/src/detail/zenoh_utils.hpp index af813e8f..168675a9 100644 --- a/rmw_zenoh_cpp/src/detail/zenoh_utils.hpp +++ b/rmw_zenoh_cpp/src/detail/zenoh_utils.hpp @@ -34,7 +34,8 @@ class ZenohSession final { public: ZenohSession(z_owned_session_t sess) - : inner_(sess) { + : inner_(sess) + { std::call_once(initFlag, [] { // This atexit function should be triggered before ZenohSession destruction // Refer to https://en.cppreference.com/w/cpp/utility/program/exit