aboutsummaryrefslogtreecommitdiffstats
path: root/stats/statsview.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-12-29 22:39:12 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-10 15:57:39 -0800
commitf4103e4998d0a2512b6b8db931a81911b3e908a0 (patch)
treecfb08d7034810a2d096350b330810a38f8e6df25 /stats/statsview.cpp
parentf3ac9c96c6664e69546e5c25b745e9b8287be66a (diff)
downloadsubsurface-f4103e4998d0a2512b6b8db931a81911b3e908a0.tar.gz
cleanup: const-ify DivePlotDataModel::*max() functions
These functions return the maximum partial pressures in the given dive. Obviously, being pure accessors, they should be const. This commit also replaces the macro generating these functions by a call to a function taking a pointer-to-member. Arguably, C++'s pointer-to-member syntax is just as horrible as macros, but at least it doesn't mess with syntax highlighting of my editor and should be better to debug. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'stats/statsview.cpp')
0 files changed, 0 insertions, 0 deletions