Fix codesmell "or with 0" in generated flags
Signed-off-by:Daniel Egger <daniel@eggers-club.de> [edmonds: From https://github.com/protobuf-c/protobuf-c/pull/523.] [edmonds: Adjust find string from "0 |" to "0 | ", test against `== 0` rather than `!= std::string::npos` so that the find/erase calls are anchored to the same portion of the string.]
Showing
Please register or sign in to comment