From 8148aabe0473c6990bd4576c7946d7f03ca5f910 Mon Sep 17 00:00:00 2001 From: Shivang Vijay Date: Mon, 4 Mar 2024 15:14:30 +0530 Subject: [PATCH] Making clean code as per issue #855 --- rmw_zenoh_cpp/src/detail/type_support.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rmw_zenoh_cpp/src/detail/type_support.cpp b/rmw_zenoh_cpp/src/detail/type_support.cpp index 8816694a..f09fa758 100644 --- a/rmw_zenoh_cpp/src/detail/type_support.cpp +++ b/rmw_zenoh_cpp/src/detail/type_support.cpp @@ -24,12 +24,8 @@ #include "type_support.hpp" -TypeSupport::TypeSupport() -{ - max_size_bound_ = false; - is_plain_ = false; - type_size_ = 0; -} +TypeSupport::TypeSupport(): max_size_bound_(false), is_plain_(false), type_size_(0) +{} void TypeSupport::set_name(const char * name) {