subsurface/qt-models
Berthold Stoeger 4f7d567571 planner: use value semantics for computeVariations()
When computing the variations in a background thread, the
code has to work on a copy of the dive plan and the deco
state. Instead of passing a copy via a unique_ptr<>, simply
use value semantics when calling computeVariations().

This does an unnecessary copy of the deco state, when
computeVariations is not run in the background, but so what.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-11-17 08:40:24 +13:00
..
cleanertablemodel.cpp
cleanertablemodel.h
CMakeLists.txt
completionmodels.cpp
completionmodels.h
cylindermodel.cpp units: replace SURFACE_PRESSURE by 1_atm 2024-09-11 10:23:07 +02:00
cylindermodel.h
divecomputerextradatamodel.cpp
divecomputerextradatamodel.h
diveimportedmodel.cpp
diveimportedmodel.h
divelocationmodel.cpp core: add CRTP base class to unit types 2024-09-11 10:23:07 +02:00
divelocationmodel.h
divepicturemodel.cpp core: add CRTP base class to unit types 2024-09-11 10:23:07 +02:00
divepicturemodel.h
diveplannermodel.cpp planner: use value semantics for computeVariations() 2024-11-17 08:40:24 +13:00
diveplannermodel.h planner: use value semantics for computeVariations() 2024-11-17 08:40:24 +13:00
divesiteimportmodel.cpp
divesiteimportmodel.h
divesummarymodel.cpp
divesummarymodel.h
divetripmodel.cpp
divetripmodel.h
filterconstraintmodel.cpp
filterconstraintmodel.h
filtermodels.cpp
filtermodels.h
filterpresetmodel.cpp
filterpresetmodel.h
maplocationmodel.cpp
maplocationmodel.h
messagehandlermodel.cpp
messagehandlermodel.h
mobilelistmodel.cpp
mobilelistmodel.h
models.cpp Planner: Improve Gas Handling in CCR Mode. 2024-08-26 12:36:31 +12:00
models.h Planner: Improve Gas Handling in CCR Mode. 2024-08-26 12:36:31 +12:00
tankinfomodel.cpp
tankinfomodel.h
treemodel.cpp
treemodel.h
weightmodel.cpp
weightmodel.h
weightsysteminfomodel.cpp
weightsysteminfomodel.h
yearlystatisticsmodel.cpp
yearlystatisticsmodel.h