summaryrefslogtreecommitdiffstats
path: root/core/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-08-12 22:47:07 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-11 16:22:27 -0700
commit8c2383b4952fa22d41745d29484462ed6a67112b (patch)
treecca6aa6c81610726770f5a096c887305df62536f /core/CMakeLists.txt
parent1afd295c413dad73293aac580ee854ea90f8fbd3 (diff)
downloadsubsurface-8c2383b4952fa22d41745d29484462ed6a67112b.tar.gz
Undo: don't modify source-dives on merge
For undo, it is crucial that commands don't modify existing dives. Unfortunately, dive merging would write into the data-structures of the to-be-merged dives. To prevent it from doing so, make the input dives const-pointers. This led to a whole cascade of functions that had to take const and significant churn. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions