Bugs item #3030904, was opened at 2010-07-17 10:32
Message generated for change (Tracker Item Submitted) made by ettlmartin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=3030904&group_id=51305
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Subversion TRUNK
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: orbitcowboy (ettlmartin)
Assigned to: Nobody/Anonymous (nobody)
Summary: [cppcheck][wxadvtable] const correctness patch
Initial Comment:
Hello,
i have attched a patch to improve const correctness of wxadvtable memberfunctions. Hope you like it?
The following member functions has been changed (output from cppcheck):
[properties.h:70]: (Style) The function 'Property::GetName' can be const
[properties.h:79]: (Style) The function 'Property::GetUID' can be const
[properties.h:88]: (Style) The function 'Property::GetType' can be const
[properties.cpp:226] -> [properties.h:291]: (Style) The function 'PropertyCollection::GetCount' can be const
[propertypage.h:46]: (Style) The function 'PropCtrl::GetId' can be const
[../src/wxadvtable.cpp:1424]: (Style) The function 'SortHelper::Index' can be const
Best regards
Ettl Martin
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=3030904&group_id=51305
|