Fix "deprecated conversion from string constant to ‘char*’"
parent
7223bbc119
commit
2b736bc6f1
|
|
@ -922,7 +922,7 @@ NAMESPACE_END
|
||||||
|
|
||||||
// http://stackoverflow.com/a/13867690/608639
|
// http://stackoverflow.com/a/13867690/608639
|
||||||
#if defined(CRYPTOPP_CXX11_CONSTEXPR)
|
#if defined(CRYPTOPP_CXX11_CONSTEXPR)
|
||||||
# define CRYPTOPP_STATIC_CONSTEXPR static constexpr
|
# define CRYPTOPP_STATIC_CONSTEXPR static constexpr const
|
||||||
# define CRYPTOPP_CONSTEXPR constexpr
|
# define CRYPTOPP_CONSTEXPR constexpr
|
||||||
#else
|
#else
|
||||||
# define CRYPTOPP_STATIC_CONSTEXPR static const
|
# define CRYPTOPP_STATIC_CONSTEXPR static const
|
||||||
|
|
|
||||||
2
config.h
2
config.h
|
|
@ -922,7 +922,7 @@ NAMESPACE_END
|
||||||
|
|
||||||
// http://stackoverflow.com/a/13867690/608639
|
// http://stackoverflow.com/a/13867690/608639
|
||||||
#if defined(CRYPTOPP_CXX11_CONSTEXPR)
|
#if defined(CRYPTOPP_CXX11_CONSTEXPR)
|
||||||
# define CRYPTOPP_STATIC_CONSTEXPR static constexpr
|
# define CRYPTOPP_STATIC_CONSTEXPR static constexpr const
|
||||||
# define CRYPTOPP_CONSTEXPR constexpr
|
# define CRYPTOPP_CONSTEXPR constexpr
|
||||||
#else
|
#else
|
||||||
# define CRYPTOPP_STATIC_CONSTEXPR static const
|
# define CRYPTOPP_STATIC_CONSTEXPR static const
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue