Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git] / src / gromacs / trajectoryanalysis / cmdlinerunner.cpp
index 755782d8270a2aabdfe376922121b46e184b9336..fb0d2e17bf538ae4b596e22257edc54338f674e6 100644 (file)
@@ -2,7 +2,7 @@
  * This file is part of the GROMACS molecular simulation package.
  *
  * Copyright (c) 2010-2018, The GROMACS development team.
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -138,7 +138,7 @@ int RunnerModule::run()
         t_trxframe& frame = common_.frame();
         if (ppbc != nullptr)
         {
-            set_pbc(ppbc, topology.ePBC(), frame.box);
+            set_pbc(ppbc, topology.pbcType(), frame.box);
         }
 
         selections_.evaluate(&frame, ppbc);