From f7b73a804daafca91df352d9f0bd751db3950ab5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik <sthalik@misaki.pl> Date: Mon, 3 Jan 2022 01:44:49 +0100 Subject: options/value-traits: fix -Wpedantic trailing comma warning --- options/value-traits.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options/value-traits.hpp') diff --git a/options/value-traits.hpp b/options/value-traits.hpp index 385983a4..308e110c 100644 --- a/options/value-traits.hpp +++ b/options/value-traits.hpp @@ -84,7 +84,7 @@ inline bool default_value_traits<double>::is_equal(double x, double y) { return std::fabs(x - y) < 1e-6; -}; +} template<> struct value_traits<float, double> : default_value_traits<float> {}; @@ -93,7 +93,7 @@ inline bool default_value_traits<float, double>::is_equal(float x, float y) { return std::fabs(x - y) < 1e-6f; -}; +} template<> inline -- cgit v1.2.3