snapshot: swap properly internally

This commit is contained in:
Michele Caini
2022-02-16 10:22:33 +01:00
parent b1738b0902
commit 4509d8a60b

View File

@@ -340,7 +340,8 @@ class basic_continuous_loader {
}
}
std::swap(container, other);
using std::swap;
swap(container, other);
}
template<typename Container>