Commit 78befee2 authored by Janusz Chorko's avatar Janusz Chorko

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

parent edfde4bf
...@@ -148,7 +148,7 @@ public: ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment