diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-01-03 01:44:49 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-01-03 01:44:49 +0100 |
commit | f7b73a804daafca91df352d9f0bd751db3950ab5 (patch) | |
tree | 908b0e9f6750ea808517433fd4a35a595eea4715 | |
parent | 527862ae4c676169437d561c96d9658e48b54a28 (diff) |
options/value-traits: fix -Wpedantic trailing comma warning
-rw-r--r-- | options/value-traits.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |