clang-tidy: readability-non-const-parameter (2/2)
[alexxy/gromacs.git] / src / gromacs / analysisdata / modules / histogram.h
index 43a4b72b68fdaa7c88254f83d84a87c54e00a2e4..a3bb56ed748484874d9d95e2ffdb270412a55aaa 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2010,2011,2012,2013,2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2013,2014,2015,2018, 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.
@@ -306,7 +306,7 @@ class AbstractAverageHistogram : public AbstractAnalysisArrayData
         //! Scales all histograms by a uniform scaling factor.
         void scaleAll(real factor);
         //! Scales the value of each bin by a different scaling factor.
-        void scaleAllByVector(real factor[]);
+        void scaleAllByVector(const real factor[]);
         /*! \brief
          * Notifies attached modules of the histogram data.
          *