Status: Invalid

Comment #1 on issue 426 by xiaof...@google.com: repeated_field.h : some ::Mutable(..) methods do check validity of index, others don't. Why?

The check is a DCHECK, which will be a nop in release build. You shouldn't rely on it emitting a fatal error for you. Adding them may make the crash report more readable but omitting them is also perfectly fine.

You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to