subsurface/smtk-import
Berthold Stoeger d242198c99 divelog: turn owning-pointers into unique_ptr<>s
Since everything is C++ now, we can use unique_ptr<>s. This makes
the code significantly shorter, because we can now use the default
move constructor and assignment operators.

This has a semantic change when std::move()-ing the divelog:
now not the contents of the tables are moved, but the pointers.
That is, the moved-from object now has no more tables and
must not be used anymore. This made it necessary to replace
std::move()s by std::swap()s. In that regard, the old code was
in principle broken: it used moved-from objects, which may work
but usually doesn't.

This commit adds a myriad of .get() function calls where the code
expects a C-style pointer. The plan is to remove virtually all of
them, when we move free-standing functions into the class it acts
on. Or, replace C-style pointers by references where we don't support
NULL.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
..
cmake/Modules Fix Windows versioning as well. 2024-08-02 01:28:37 +12:00
CMakeLists.txt import: compile smartrak.cpp as C++ 2024-04-23 07:47:11 +07:00
smartrak.cpp divelog: turn owning-pointers into unique_ptr<>s 2024-08-13 19:28:30 +02:00
smrtk2ssrfc_window.cpp build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
smrtk2ssrfc_window.h build: remove extern "C" linkage 2024-08-13 19:28:30 +02:00
smrtk2ssrfc_window.ui Use icons relative path. 2017-11-30 23:14:46 -08:00
smtk2ssrf.desktop smtk-import: Add smtk2ssrf.desktop to sources 2018-02-24 13:42:01 -08:00
smtk_standalone.cpp Replace qDebug() by report_info() in smtk-import 2024-04-23 07:47:11 +07:00