From b7996f09296d2f3c9b046c2370d88cc71c1ef022 Mon Sep 17 00:00:00 2001 From: Thomas Karlsson Date: Tue, 13 Oct 2015 13:20:32 +0200 Subject: Changed return type from int32 to bool in function returning a bool --- src/google/protobuf/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/google/protobuf/map.h') diff --git a/src/google/protobuf/map.h b/src/google/protobuf/map.h index 72a1b1a3..e36c7c7a 100644 --- a/src/google/protobuf/map.h +++ b/src/google/protobuf/map.h @@ -155,7 +155,7 @@ class LIBPROTOBUF_EXPORT MapKey { "MapKey::GetUInt32Value"); return val_.uint32_value_; } - int32 GetBoolValue() const { + bool GetBoolValue() const { TYPE_CHECK(FieldDescriptor::CPPTYPE_BOOL, "MapKey::GetBoolValue"); return val_.bool_value_; -- cgit v1.2.3