From 4e59b4c7c3b400637fb908de289bd819d3c1d446 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Fri, 8 Nov 2024 09:56:45 +0000 Subject: [PATCH] clang-format --- include/mapnik/expression_grammar_x3_def.hpp | 22 ++++++++++---------- include/mapnik/function_call.hpp | 1 - 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/include/mapnik/expression_grammar_x3_def.hpp b/include/mapnik/expression_grammar_x3_def.hpp index 7fb82a982..06a318698 100644 --- a/include/mapnik/expression_grammar_x3_def.hpp +++ b/include/mapnik/expression_grammar_x3_def.hpp @@ -209,17 +209,17 @@ struct unary_function_types_ : x3::symbols { unary_function_types_() { - add("sin", sin_impl()) // - ("cos", cos_impl()) // - ("tan", tan_impl()) // - ("atan", atan_impl()) // - ("exp", exp_impl()) // - ("log", log_impl()) // - ("abs", abs_impl()) // - ("length", length_impl()) // - ("int", int_impl()) // - ("float", float_impl()) // - ("str", str_impl()) // + add("sin", sin_impl()) // + ("cos", cos_impl()) // + ("tan", tan_impl()) // + ("atan", atan_impl()) // + ("exp", exp_impl()) // + ("log", log_impl()) // + ("abs", abs_impl()) // + ("length", length_impl()) // + ("int", int_impl()) // + ("float", float_impl()) // + ("str", str_impl()) // ; } } const unary_func_types; diff --git a/include/mapnik/function_call.hpp b/include/mapnik/function_call.hpp index 91399e376..30e8b956d 100644 --- a/include/mapnik/function_call.hpp +++ b/include/mapnik/function_call.hpp @@ -107,7 +107,6 @@ struct float_impl value_type operator()(value_type const& val) const { return val.to_double(); } }; - // min inline value_type min_impl(value_type const& arg1, value_type const& arg2) {