aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/map.h
diff options
context:
space:
mode:
authorGravatar Thomas Karlsson <thomas.karlsson@paneda.se>2015-10-13 13:20:32 +0200
committerGravatar Thomas Karlsson <thomas.karlsson@paneda.se>2015-10-13 13:20:32 +0200
commitb7996f09296d2f3c9b046c2370d88cc71c1ef022 (patch)
treec884f984f6c8f553a30aab8e93b74cd12037025a /src/google/protobuf/map.h
parent49f24afb45b7add17af3ed4493fa0a94d1cc64da (diff)
Changed return type from int32 to bool in function returning a bool
Diffstat (limited to 'src/google/protobuf/map.h')
-rw-r--r--src/google/protobuf/map.h2
1 files changed, 1 insertions, 1 deletions
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_;