Fix "deprecated conversion from string constant to ‘char*’"

This commit is contained in:
Jeffrey Walton 2016-11-14 19:45:08 -05:00
parent 7223bbc119
commit 2b736bc6f1
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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