diff --git a/include/openPMD/backend/Container.hpp b/include/openPMD/backend/Container.hpp index 58b07bd48a..cee50f9baf 100644 --- a/include/openPMD/backend/Container.hpp +++ b/include/openPMD/backend/Container.hpp @@ -259,7 +259,7 @@ class Container : virtual public Attributable void swap(Container &other) { - container().swap(other.m_container); + container().swap(other.container()); } mapped_type &at(key_type const &key)