Merge branch release-2021
[alexxy/gromacs.git] / src / gromacs / mdrun / runner.cpp
index 2b1445ef554d713aff972a3f1b99229fd8749024..6ce5fd61f8ae8ed5e1833c3e562e07f0e02c18cb 100644 (file)
@@ -2090,7 +2090,8 @@ Mdrunner::Mdrunner(std::unique_ptr<MDModules> mdModules) : mdModules_(std::move(
 
 Mdrunner::Mdrunner(Mdrunner&&) noexcept = default;
 
-Mdrunner& Mdrunner::operator=(Mdrunner&& /*handle*/) noexcept = default;
+//NOLINTNEXTLINE(performance-noexcept-move-constructor) working around GCC bug 58265 in CentOS 7
+Mdrunner& Mdrunner::operator=(Mdrunner&& /*handle*/) noexcept(BUGFREE_NOEXCEPT_STRING) = default;
 
 class Mdrunner::BuilderImplementation
 {