diff options
author | Ralph Tandetzky <ralph.tandetzky@optimeas.de> | 2016-12-01 15:37:04 +0100 |
---|---|---|
committer | Ralph Tandetzky <ralph.tandetzky@optimeas.de> | 2016-12-01 15:37:04 +0100 |
commit | 35a2ef10a23a9b668428c931f408a4a8154adbc9 (patch) | |
tree | 78cf235ef9ebb1191e42a93ed59090ffbe705b3c /des.h | |
parent | 3fc97d2bfff25d571049466a6803e8edcad2ceb4 (diff) | |
download | cryptopp-git-35a2ef10a23a9b668428c931f408a4a8154adbc9.tar.gz |
Fix: GCC warning "type qualifiers ignored on function return type".
This pedantic message appeared all over the code. Also removed one warning about an unused variable in release build.
Diffstat (limited to 'des.h')
-rw-r--r-- | des.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,7 @@ protected: struct DES_Info : public FixedBlockSize<8>, public FixedKeyLength<8>
{
// disable DES in DLL version by not exporting this function
- CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "DES";}
+ CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "DES";}
};
//! \class DES
@@ -125,7 +125,7 @@ public: //! \brief DESX block cipher information
struct DES_XEX3_Info : public FixedBlockSize<8>, public FixedKeyLength<24>
{
- CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "DES-XEX3";}
+ CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "DES-XEX3";}
};
//! \class DES_XEX3
|