mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-27 03:40:22 +00:00
Fix "deprecated conversion from string constant to ‘char*’"
This commit is contained in:
parent
7223bbc119
commit
2b736bc6f1
@ -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
|
||||
|
2
config.h
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user