Fix for compiler warning issue#8145

Corrected the == check condition.

Signed-off-by: Abhishek Jain <abhishek.jain3@huawei.com>
This commit is contained in:
Abhishek Jain 2020-12-22 16:42:28 +05:30 committed by Adam Cozzette
parent 9505222a24
commit 36aff6a526

View File

@ -1070,7 +1070,7 @@ void MessageGenerator::GenerateClassDefinition(io::Printer* printer) {
" }\n",
descriptor_->field(1)->full_name());
} else {
GOOGLE_CHECK(utf8_check = VERIFY);
GOOGLE_CHECK(utf8_check == VERIFY);
format(
" static bool ValidateValue(std::string* s) {\n"
"#ifndef NDEBUG\n"