mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
6ae16b87d0
Make all char * pointers in pref.h const to make it clear that these strings are not mutable. This meant adding a number of (void *) casts in calls to free(). Apart from being the right thing to do, this commit makes the code more consistent, as many of the strings in pref.h were already const. While touching core/qthelper.cpp turn three instances of (void*) into (void *). Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> |
||
---|---|---|
.. | ||
CylinderObjectHelper.cpp | ||
CylinderObjectHelper.h | ||
DiveObjectHelper.cpp | ||
DiveObjectHelper.h | ||
SettingsObjectWrapper.cpp | ||
SettingsObjectWrapper.h |