From 40ba5a8b7b4dffce2a24e43a4a108a04756dbfc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20DELRIEU?= Date: Sat, 21 Jan 2017 16:45:08 +0100 Subject: [PATCH] remove inline keyword from anonymous namespace (not needed) --- src/json.hpp | 2 +- src/json.hpp.re2c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/json.hpp b/src/json.hpp index 2524a694..8e2cfed0 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -870,7 +870,7 @@ struct DecimalSeparator : std::numpunct }; } -inline namespace +namespace { constexpr const auto& to_json = detail::static_const::value; constexpr const auto& from_json = detail::static_const::value; diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index 94b72eb2..4fcdb23f 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -870,7 +870,7 @@ struct DecimalSeparator : std::numpunct }; } -inline namespace +namespace { constexpr const auto& to_json = detail::static_const::value; constexpr const auto& from_json = detail::static_const::value;