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) {