Remove EmptyArrayRef
[alexxy/gromacs.git] / src / gromacs / applied_forces / tests / electricfield.cpp
index 82c983e0efd94529d1b67260c033f8aa13081133..ebf0f701d5b4ccab9bc5568bf6caf2b238158547 100644 (file)
@@ -120,7 +120,7 @@ class ElectricFieldTest : public ::testing::Test
             matrix                         boxDummy = { {0, 0, 0}, {0, 0, 0}, {0, 0, 0} };
             gmx_enerdata_t                 enerdDummy;
 
-            gmx::ForceProviderInput        forceProviderInput(gmx::EmptyArrayRef {}, md, 0.0, boxDummy, *cr);
+            gmx::ForceProviderInput        forceProviderInput({}, md, 0.0, boxDummy, *cr);
             gmx::ForceProviderOutput       forceProviderOutput(&forceWithVirial, &enerdDummy);
             forceProviders.calculateForces(forceProviderInput, &forceProviderOutput);
             done_commrec(cr);