add missing typename

pull/2/head
weidai 2003-05-16 18:24:25 +00:00
parent a003ea18cc
commit 6f7b559ded
1 changed files with 2 additions and 2 deletions

View File

@ -359,7 +359,7 @@ template <class KEYS>
class CRYPTOPP_NO_VTABLE PublicKeyCopier class CRYPTOPP_NO_VTABLE PublicKeyCopier
{ {
public: public:
typedef KEYS::PublicKey KeyClass; typedef typename KEYS::PublicKey KeyClass;
virtual void CopyKeyInto(typename KEYS::PublicKey &key) const =0; virtual void CopyKeyInto(typename KEYS::PublicKey &key) const =0;
}; };
@ -368,7 +368,7 @@ template <class KEYS>
class CRYPTOPP_NO_VTABLE PrivateKeyCopier class CRYPTOPP_NO_VTABLE PrivateKeyCopier
{ {
public: public:
typedef KEYS::PrivateKey KeyClass; typedef typename KEYS::PrivateKey KeyClass;
virtual void CopyKeyInto(typename KEYS::PublicKey &key) const =0; virtual void CopyKeyInto(typename KEYS::PublicKey &key) const =0;
virtual void CopyKeyInto(typename KEYS::PrivateKey &key) const =0; virtual void CopyKeyInto(typename KEYS::PrivateKey &key) const =0;
}; };