[es] Fixed inheritance mistakes.

This commit is contained in:
jakcron 2018-06-23 11:23:08 +08:00
parent 3089069c8b
commit d802197887
4 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ namespace es
bool operator==(const CertificateBody& other) const;
bool operator!=(const CertificateBody& other) const;
void importBinary(byte_t* src, size_t size);
void importBinary(const byte_t* src, size_t size);
void exportBinary();
const byte_t* getBytes() const;

View file

@ -17,7 +17,7 @@ namespace es
bool operator==(const SignatureBlock& other) const;
bool operator!=(const SignatureBlock& other) const;
void importBinary(byte_t* src, size_t size);
void importBinary(const byte_t* src, size_t size);
void exportBinary();
const byte_t* getBytes() const;

View file

@ -25,7 +25,7 @@ bool es::CertificateBody::operator!=(const CertificateBody& other) const
return !(*this == other);
}
void es::CertificateBody::importBinary(byte_t* src, size_t size)
void es::CertificateBody::importBinary(const byte_t* src, size_t size)
{
clear();

View file

@ -25,7 +25,7 @@ bool es::SignatureBlock::operator!=(const SignatureBlock& other) const
return !(*this == other);
}
void es::SignatureBlock::importBinary(byte_t* src, size_t size)
void es::SignatureBlock::importBinary(const byte_t* src, size_t size)
{
clear();