Use enum class for gmx_omp_nthreads
[alexxy/gromacs.git] / src / gromacs / domdec / domdec_topology.cpp
index 2380a813e83311e05df29b45d4952b78065aef1d..992573a7eb8f68ee5b4a92df62448c0cc74e13f8 100644 (file)
@@ -767,7 +767,7 @@ gmx_reverse_top_t::Impl::Impl(const gmx_mtop_t&        mtop,
         mbi.push_back(mbiMolblock);
     }
 
-    for (int th = 0; th < gmx_omp_nthreads_get(emntDomdec); th++)
+    for (int th = 0; th < gmx_omp_nthreads_get(ModuleMultiThread::Domdec); th++)
     {
         th_work.emplace_back(mtop.ffparams);
     }