Fix build on CentOS 7
[alexxy/gromacs.git] / src / gromacs / mdrun / runner.cpp
index e78faae8d511116296804c5e9a3276e829970363..513d7733eeb026d62b1fb2ce94416af52c9685ae 100644 (file)
@@ -1882,7 +1882,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
 {