Index: net/der/input.cc |
diff --git a/net/der/input.cc b/net/der/input.cc |
index 5065ccaca93e9bdc3ffc06b5af2eaa332d57f1ae..baf9731141f2f7d1a0f56071eda9e75a13021f10 100644 |
--- a/net/der/input.cc |
+++ b/net/der/input.cc |
@@ -25,6 +25,10 @@ bool Input::Equals(const Input& other) const { |
return memcmp(data_, other.data_, len_) == 0; |
} |
+bool Input::operator==(const Input& other) const { |
+ return Equals(other); |
+} |
+ |
std::string Input::AsString() const { |
return std::string(reinterpret_cast<const char*>(data_), len_); |
} |