mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
planner: add move assignment constructor and operator to diveplan
Makes coverity happy and is a good idea. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
db531bbd05
commit
6f91a73a05
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,10 @@ typedef enum {
|
|||
struct diveplan {
|
||||
diveplan();
|
||||
~diveplan();
|
||||
diveplan(const diveplan &) = default;
|
||||
diveplan(diveplan &&) = default;
|
||||
diveplan &operator=(const diveplan &) = default;
|
||||
diveplan &operator=(diveplan &&) = default;
|
||||
|
||||
timestamp_t when = 0;
|
||||
int surface_pressure = 0; /* mbar */
|
||||
|
|
Loading…
Reference in a new issue