Labels: Type-Defect Priority-Medium
New issue 537 by sarum...@gmail.com: GetErrno() constness
I suppose FileInputStream and FileOutputStream should have GetErrno() with
const modifier. This function is a simple getter and I see no reason for
this function to be non-const.
Declare methods to be const whenever possible. Accessors should almost
always be const. Other methods should be const if they do not modify any
data members, do not call any non-const methods, and do not return a
non-const pointer or non-const reference to a data member.
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups "Protocol
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.