IAP GITLAB

Skip to content
Snippets Groups Projects

History

Merged Ralf Ulrich requested to merge history into master
2 files
+ 48
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -241,10 +241,6 @@ namespace corsika::stack {
data_.Swap(a.GetIndex(), b.GetIndex());
std::swap(deleted_[a.GetIndex()], deleted_[b.GetIndex()]);
}
void Swap(ConstStackIterator a, ConstStackIterator b) {
data_.Swap(a.GetIndex(), b.GetIndex());
std::swap(deleted_[a.GetIndex()], deleted_[b.GetIndex()]);
}
void Copy(StackIterator a, StackIterator b) {
data_.Copy(a.GetIndex(), b.GetIndex());
if (deleted_[b.GetIndex()] && !deleted_[a.GetIndex()]) nDeleted_--;
Loading