Status: New
Labels: Type-Defect Priority-Medium

New issue 537 by 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.

From 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 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to