From 2b736bc6f12e7bd9ae2bf677db0aabb056fce081 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 14 Nov 2016 19:45:08 -0500 Subject: [PATCH] =?UTF-8?q?Fix=20"deprecated=20conversion=20from=20string?= =?UTF-8?q?=20constant=20to=20=E2=80=98char*=E2=80=99"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.compat | 2 +- config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.compat b/config.compat index 65945d73..42d57c5f 100644 --- a/config.compat +++ b/config.compat @@ -922,7 +922,7 @@ NAMESPACE_END // http://stackoverflow.com/a/13867690/608639 #if defined(CRYPTOPP_CXX11_CONSTEXPR) -# define CRYPTOPP_STATIC_CONSTEXPR static constexpr +# define CRYPTOPP_STATIC_CONSTEXPR static constexpr const # define CRYPTOPP_CONSTEXPR constexpr #else # define CRYPTOPP_STATIC_CONSTEXPR static const diff --git a/config.h b/config.h index 64d77f8e..c0383fb6 100644 --- a/config.h +++ b/config.h @@ -922,7 +922,7 @@ NAMESPACE_END // http://stackoverflow.com/a/13867690/608639 #if defined(CRYPTOPP_CXX11_CONSTEXPR) -# define CRYPTOPP_STATIC_CONSTEXPR static constexpr +# define CRYPTOPP_STATIC_CONSTEXPR static constexpr const # define CRYPTOPP_CONSTEXPR constexpr #else # define CRYPTOPP_STATIC_CONSTEXPR static const