summaryrefslogtreecommitdiff
path: root/xts.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-10-12 08:45:38 -0400
committerJeffrey Walton <noloader@gmail.com>2019-10-12 08:45:38 -0400
commit13a75b6b51c7761a1cdcc4831d2b1c219a255122 (patch)
tree510ae17f79a8699e6dfe73e30fc01d803593e79c /xts.h
parente33714d3d8581456c0102a4763aa67d761204f33 (diff)
downloadcryptopp-git-13a75b6b51c7761a1cdcc4831d2b1c219a255122.tar.gz
Fix XTS compile under Clang
Diffstat (limited to 'xts.h')
-rw-r--r--xts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xts.h b/xts.h
index 6fdb72b4..dfdb0e51 100644
--- a/xts.h
+++ b/xts.h
@@ -109,7 +109,7 @@ template <class CIPHER>
class CRYPTOPP_NO_VTABLE XTS_Final : public XTS_ModeBase
{
public:
- std::string CRYPTOPP_API StaticAlgorithmName()
+ static std::string CRYPTOPP_API StaticAlgorithmName()
{return std::string(CIPHER::StaticAlgorithmName()) + "/XTS";}
protected: