From 16ff4d06af2d891562c70924e19aa63fee37bffb Mon Sep 17 00:00:00 2001 From: Shivang Vijay Date: Tue, 5 Mar 2024 18:50:28 +0530 Subject: [PATCH] Making clean code as per issue #855 (#122) * Making clean code as per issue #855 Co-authored-by: Shivang Vijay --- rmw_zenoh_cpp/src/detail/type_support.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rmw_zenoh_cpp/src/detail/type_support.cpp b/rmw_zenoh_cpp/src/detail/type_support.cpp index 8816694a..dadd94fa 100644 --- a/rmw_zenoh_cpp/src/detail/type_support.cpp +++ b/rmw_zenoh_cpp/src/detail/type_support.cpp @@ -25,11 +25,7 @@ #include "type_support.hpp" TypeSupport::TypeSupport() -{ - max_size_bound_ = false; - is_plain_ = false; - type_size_ = 0; -} +: max_size_bound_(false), is_plain_(false), type_size_(0) {} void TypeSupport::set_name(const char * name) {