Fix compilation error when cstring does not import std::memcmp into global namespace.

This commit is contained in:
Janusz Chorko 2015-02-14 17:18:45 +01:00
parent edfde4bfa2
commit 78befee2bd

View File

@ -148,7 +148,7 @@ public:
} }
bool operator==(const BigInteger& rhs) const { bool operator==(const BigInteger& rhs) const {
return count_ == rhs.count_ && memcmp(digits_, rhs.digits_, count_ * sizeof(Type)) == 0; return count_ == rhs.count_ && std::memcmp(digits_, rhs.digits_, count_ * sizeof(Type)) == 0;
} }
bool operator==(const Type rhs) const { bool operator==(const Type rhs) const {