Remove unneeded template keyword which trips up MSVC
authorPascal Merz <pascal.merz@me.com>
Thu, 3 Jun 2021 01:32:19 +0000 (19:32 -0600)
committerPascal Merz <pascal.merz@me.com>
Thu, 3 Jun 2021 01:32:19 +0000 (19:32 -0600)
Solves part 1 of #4065

src/gromacs/modularsimulator/domdechelper.h

index d2aa03dfbf2a2b3c338204310ee8f8fe5471b487..15f0fd76abe832333f4e56da9064201cfcf84817 100644 (file)
@@ -195,7 +195,7 @@ public:
         std::vector<DomDecCallback> callbacks;
         for (const auto& client : clients_)
         {
-            callbacks.template emplace_back(client->registerDomDecCallback());
+            callbacks.emplace_back(client->registerDomDecCallback());
         }
         return std::make_unique<DomDecHelper>(std::forward<Args>(args)..., std::move(callbacks));
     }