diff options
| author | 2019-11-03 15:25:23 +0100 | |
|---|---|---|
| committer | 2019-12-05 10:14:25 -0800 | |
| commit | 2cfb35b6d7b5bb7bb7275f078bf2aff959e6ecef (patch) | |
| tree | e220c14fa1615a049b73e18681bab017b93438f4 /core/unix.c | |
| parent | b3f530bfb9d099414d833e7b0eb8c71cb3780eca (diff) | |
| download | subsurface-2cfb35b6d7b5bb7bb7275f078bf2aff959e6ecef.tar.gz | |
Cleanup: return value type from WeightModel::weightSystemAt()
There is only one caller of WeightModel::weightSystemAt() and that
certainly does not need a pointer into the weightsystem-table of
the current dive. Return a value type instead of a pointer.
This allows us to mark WeightModel::weightSystemAt() as const and
use it from WeightModel::data(). Slightly cleaner code.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/unix.c')
0 files changed, 0 insertions, 0 deletions