diff --git a/xml_converter/src/attribute/bool.hpp b/xml_converter/src/attribute/bool.hpp index 07d5f8fb..f0d8d582 100644 --- a/xml_converter/src/attribute/bool.hpp +++ b/xml_converter/src/attribute/bool.hpp @@ -12,5 +12,9 @@ bool parse_bool(rapidxml::xml_attribute<>* input, std::vector* errors std::string stringify_bool(bool attribute_value); // Zero Cost Abstraction identity functions to make parsing and writing protobufs more uniform -inline bool const& from_proto_bool(const bool &x) {return x;} -inline bool const& to_proto_bool(const bool &x) {return x;} +inline bool const& from_proto_bool(const bool& x) { + return x; +} +inline bool const& to_proto_bool(const bool& x) { + return x; +} diff --git a/xml_converter/src/attribute/float.hpp b/xml_converter/src/attribute/float.hpp index 4e325512..003dfba0 100644 --- a/xml_converter/src/attribute/float.hpp +++ b/xml_converter/src/attribute/float.hpp @@ -12,5 +12,9 @@ float parse_float(rapidxml::xml_attribute<>* input, std::vector* erro std::string stringify_float(float attribute_value); // Zero Cost Abstraction identity functions to make parsing and writing protobufs more uniform -inline float const& from_proto_float(const float &x) {return x;} -inline float const& to_proto_float(const float &x) {return x;} +inline float const& from_proto_float(const float& x) { + return x; +} +inline float const& to_proto_float(const float& x) { + return x; +} diff --git a/xml_converter/src/attribute/int.hpp b/xml_converter/src/attribute/int.hpp index fd6539ea..4c3446be 100644 --- a/xml_converter/src/attribute/int.hpp +++ b/xml_converter/src/attribute/int.hpp @@ -12,5 +12,9 @@ int parse_int(rapidxml::xml_attribute<>* input, std::vector* errors); std::string stringify_int(int attribute_value); // Zero Cost Abstraction identity functions to make parsing and writing protobufs more uniform -inline int const& from_proto_int(const int &x) {return x;} -inline int const& to_proto_int(const int &x) {return x;} +inline int const& from_proto_int(const int& x) { + return x; +} +inline int const& to_proto_int(const int& x) { + return x; +} diff --git a/xml_converter/src/attribute/string.hpp b/xml_converter/src/attribute/string.hpp index e5988178..a693f834 100644 --- a/xml_converter/src/attribute/string.hpp +++ b/xml_converter/src/attribute/string.hpp @@ -12,5 +12,9 @@ std::string parse_string(rapidxml::xml_attribute<>* input, std::vector