Commit b7996f09 authored by Thomas Karlsson's avatar Thomas Karlsson

Changed return type from int32 to bool in function returning a bool

parent 49f24afb
...@@ -155,7 +155,7 @@ class LIBPROTOBUF_EXPORT MapKey { ...@@ -155,7 +155,7 @@ class LIBPROTOBUF_EXPORT MapKey {
"MapKey::GetUInt32Value"); "MapKey::GetUInt32Value");
return val_.uint32_value_; return val_.uint32_value_;
} }
int32 GetBoolValue() const { bool GetBoolValue() const {
TYPE_CHECK(FieldDescriptor::CPPTYPE_BOOL, TYPE_CHECK(FieldDescriptor::CPPTYPE_BOOL,
"MapKey::GetBoolValue"); "MapKey::GetBoolValue");
return val_.bool_value_; return val_.bool_value_;
......
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