Skip to content

Commit

Permalink
Fix the coding style.
Browse files Browse the repository at this point in the history
Signed-off-by: ChenYing Kuo <[email protected]>
  • Loading branch information
evshary committed Dec 16, 2024
1 parent ed041b2 commit 4865bbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rmw_zenoh_cpp/src/detail/zenoh_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4865bbd

Please sign in to comment.