Improve "const correctness"

Bug #686503 reported by elfring on 2005-07-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panotools
Undecided
Unassigned

Bug Description

Would you like to apply the advices from the article
"http://en.wikipedia.org/wiki/Const_correctness" to
your sources?
I suggest to add the key word "const" to the type
specifiers for parameters like the following.
- filename (function "ZCombSeeImage")

http://cvs.sourceforge.net/viewcvs.py/panotools/libpano/ZComb.h?rev=1.1&view=markup

- fname (functions ".+BufImage", "FindFile")
  src (functions "CopyImageData", "merge",
"cutTheFrame", ...)
  from (function "CopyPosition")
  im1, im2 (functions "HaveEqualSize", "PositionCmp")
  r (function "CropImage")

http://cvs.sourceforge.net/viewcvs.py/panotools/libpano/filter.h?rev=1.11&view=markup

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers