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

@ -101,7 +101,7 @@ set(SUBSURFACE_CORE_LIB_SRCS
fulltext.h
gas.c
gas.h
gas-model.c
gas-model.cpp
gaspressures.c
gaspressures.h
gettext.h