summaryrefslogtreecommitdiff
path: root/algparam.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2004-06-19 08:28:09 +0000
committerweidai <weidai11@users.noreply.github.com>2004-06-19 08:28:09 +0000
commitf78fccb3cc8c2375bd0b474a33c43b1cd22a325c (patch)
tree187e9abc73ba1918391e24a30eb0b9638f12941e /algparam.h
parent40a5b80a4522a9b3ad3820b5a953bb4f3611e009 (diff)
downloadcryptopp-git-f78fccb3cc8c2375bd0b474a33c43b1cd22a325c.tar.gz
port to GCC 3.4
Diffstat (limited to 'algparam.h')
-rw-r--r--algparam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/algparam.h b/algparam.h
index 05de8555..aa10f65d 100644
--- a/algparam.h
+++ b/algparam.h
@@ -23,7 +23,7 @@ public:
}
template <class T> 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 <class R>
AlgorithmParameters<AlgorithmParameters<PARENT,T>, R> operator()(const char *name, const R &value) const
{
- return AlgorithmParameters<AlgorithmParameters<PARENT,T>, R>(*this, name, value, m_throwIfNotUsed);
+ return AlgorithmParameters<AlgorithmParameters<PARENT,T>, R>(*this, name, value, this->m_throwIfNotUsed);
}
template <class R>