diff --git a/ddspipe_yaml/include/ddspipe_yaml/YamlWriter.hpp b/ddspipe_yaml/include/ddspipe_yaml/YamlWriter.hpp index cd934599..cc1cccb5 100644 --- a/ddspipe_yaml/include/ddspipe_yaml/YamlWriter.hpp +++ b/ddspipe_yaml/include/ddspipe_yaml/YamlWriter.hpp @@ -82,7 +82,7 @@ template void set( Yaml& yml, const T& value, - const bool is_compact); + bool is_compact); //! Set the \c value in a new yaml in \c yml under \c tag . template diff --git a/ddspipe_yaml/include/ddspipe_yaml/impl/YamlWriter.ipp b/ddspipe_yaml/include/ddspipe_yaml/impl/YamlWriter.ipp index 8eefcb1e..4ae5b76d 100644 --- a/ddspipe_yaml/include/ddspipe_yaml/impl/YamlWriter.ipp +++ b/ddspipe_yaml/include/ddspipe_yaml/impl/YamlWriter.ipp @@ -52,7 +52,7 @@ template void set_collection( Yaml& yml, const std::vector& collection, - const bool is_compact); + bool is_compact); template void set_map( @@ -97,7 +97,7 @@ template void set( Yaml& yml, const std::vector& collection, - const bool is_compact) + bool is_compact) { set_collection(yml, collection, is_compact); } @@ -149,7 +149,7 @@ template void set_collection( Yaml& yml, const std::vector& collection, - const bool is_compact) + bool is_compact) { for (const auto& v : collection) {