Skip to content

Commit a133748

Browse files
committed
fix typo
Change-Id: I95c500fe01b9f4e2acae2c3294a6b64afca746b3
1 parent 45d3e7f commit a133748

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/common/protobuf/utility.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,9 @@ class MessageUtil {
583583
#if defined(HIGRESS) && defined(ENVOY_ENABLE_FULL_PROTOS)
584584
class HashCachedMessageUtil : public MessageUtil {
585585
public:
586-
bool operator()(const Protobuf::Message& message) const { return message.GetCachedHashValue(); }
586+
std::size_t operator()(const Protobuf::Message& message) const {
587+
return message.GetCachedHashValue();
588+
}
587589

588590
bool operator()(const Protobuf::Message& lhs, const Protobuf::Message& rhs) const {
589591
return lhs.GetCachedHashValue() == rhs.GetCachedHashValue();

0 commit comments

Comments
 (0)