From 877d96c1d80ad860a6d5c22766cd8682e5cd889d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20DELRIEU?= Date: Thu, 20 Oct 2016 13:45:48 +0200 Subject: [PATCH] rename __static_const to _static_const (reserved identifier) --- src/json.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/json.hpp b/src/json.hpp index 23709788a..68ac29fcc 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -220,18 +220,18 @@ struct DecimalSeparator : std::numpunct // taken from ranges-v3 // TODO add doc template -struct __static_const +struct _static_const { static constexpr T value{}; }; template -constexpr T __static_const::value; +constexpr T _static_const::value; inline namespace { - constexpr auto const& to_json = __static_const::value; - constexpr auto const& from_json = __static_const::value; + constexpr auto const& to_json = _static_const::value; + constexpr auto const& from_json = _static_const::value; } /*!