mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: convert dive.c to C++
Long term project: convert core to C++ so that we can use higer-level constructs, notably std::vector<>. This does not change any code - only fixes compile issues. Mostly casting of (void *) to the proper type. Also designated initialization of the sample struct had to be rearranged. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
096e49e15b
commit
52e6a098aa
4 changed files with 121 additions and 121 deletions
|
@ -59,7 +59,7 @@ set(SUBSURFACE_CORE_LIB_SRCS
|
|||
device.h
|
||||
devicedetails.cpp
|
||||
devicedetails.h
|
||||
dive.c
|
||||
dive.cpp
|
||||
dive.h
|
||||
divecomputer.c
|
||||
divecomputer.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue