Changed return type from int32 to bool in function returning a bool
This commit is contained in:
parent
49f24afb45
commit
b7996f0929
1 changed files with 1 additions and 1 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Reference in a new issue