diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-08-17 00:36:51 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-23 05:16:38 -0700 |
commit | 44f34d8cd72568a313e9a39907b65ed44bdbdeba (patch) | |
tree | d1f18908eaf7a5a06727343d6357633e8ff3a651 /profile-widget/profilewidget2.cpp | |
parent | 360f07e4533d4ede7ba494724382fc8dbcb4649c (diff) | |
download | subsurface-44f34d8cd72568a313e9a39907b65ed44bdbdeba.tar.gz |
Cleanup: const-ify parameters to trivial accessor functions
Accessor-functions without noticeable logic, such as depth_to_bar()
can trivially be made "const-clean".
Moreover, let get_dive_location() return a "const char *". The
non-const version must have been an oversight, as the caller
must not free() or overwrite the string.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
0 files changed, 0 insertions, 0 deletions