From 5283f5059b14d63ed0ed54c8384890320fbb9ec6 Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 19 Jun 2004 08:28:09 +0000 Subject: port to GCC 3.4 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@168 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- algparam.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'algparam.h') diff --git a/algparam.h b/algparam.h index 05de855..aa10f65 100644 --- a/algparam.h +++ b/algparam.h @@ -23,7 +23,7 @@ public: } template ConstByteArrayParameter(const T &string, bool deepCopy = false) { - CRYPTOPP_COMPILE_ASSERT(sizeof(string[0])==1); + CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1); Assign((const byte *)string.data(), string.size(), deepCopy); } @@ -320,7 +320,7 @@ public: template AlgorithmParameters, R> operator()(const char *name, const R &value) const { - return AlgorithmParameters, R>(*this, name, value, m_throwIfNotUsed); + return AlgorithmParameters, R>(*this, name, value, this->m_throwIfNotUsed); } template -- cgit v1.2.1