From: mtk Date: Fri, 14 Jan 2011 22:03:46 +0000 (+0000) Subject: data() can not be const X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=e6362dd29e4a128eb66739441ff82ca4a49141d5;p=senf.git data() can not be const git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1764 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Utils/StatisticAccumulator.ct b/senf/Utils/StatisticAccumulator.ct index e2c7497..401f5a0 100644 --- a/senf/Utils/StatisticAccumulator.ct +++ b/senf/Utils/StatisticAccumulator.ct @@ -88,7 +88,7 @@ prefix_ void senf::StatisticAccumulator::clear() } template -prefix_ void senf::StatisticAccumulator::data( StatisticsData &data_) const +prefix_ void senf::StatisticAccumulator::data( StatisticsData &data_) { data_.min = (float) min_; data_.avg = avg(); diff --git a/senf/Utils/StatisticAccumulator.hh b/senf/Utils/StatisticAccumulator.hh index 08ba344..0293e5f 100644 --- a/senf/Utils/StatisticAccumulator.hh +++ b/senf/Utils/StatisticAccumulator.hh @@ -89,7 +89,7 @@ namespace senf { boost::uint32_t count() const; ///< Returns count of accumulated values. /**< This method returns count of accumulated values of the current accumulation.*/ - void data( StatisticsData & data_) const; + void data( StatisticsData & data_); ///< Returns the accumulated data as a tuple /**< This method returns the accumulated information as a tuple.*/