core: convert gas-model.c to C++

A nice one - nothing to do. Introduce an std::clamp(), just
because we can...

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-05-02 22:42:09 +02:00 committed by bstoeger
parent 7c2b580bfa
commit 3395c61bc8
3 changed files with 10 additions and 12 deletions

View file

@ -57,7 +57,7 @@ SOURCES += subsurface-mobile-main.cpp \
core/filterpreset.cpp \
core/divelist.cpp \
core/divelog.cpp \
core/gas-model.c \
core/gas-model.cpp \
core/gaspressures.c \
core/git-access.cpp \
core/globals.cpp \