diff --git a/include/openmc/lattice.h b/include/openmc/lattice.h index b79e77660f..195f627857 100644 --- a/include/openmc/lattice.h +++ b/include/openmc/lattice.h @@ -270,14 +270,14 @@ private: y, x }; //! Fill universes_ vector for OY orientation - void fill_lattice_oy(std::vector univ_words); + void fill_lattice_oy(const std::vector& univ_words); //! Fill universes_ vector for OX orientation - void fill_lattice_ox(std::vector univ_words); + void fill_lattice_ox(const std::vector& univ_words); int n_rings_; //!< Number of radial tile positions int n_axial_; //!< Number of axial tile positions - Orientation orientation_; //!< Flat side up (oy) vs. sharp side up (ox) + Orientation orientation_; //!< Flat side up (oy) vs. sharp side up (ox) Position center_; //!< Global center of lattice std::array pitch_; //!< Lattice tile width and height };