# HG changeset patch # User Chris Cannam # Date 1153945363 0 # Node ID 0e42bf10f29a11306e139d6d91f8f801f39938cf # Parent b7f01ab7045e8670af2f0922c687c655873fb409 * fix compile error with gcc-4.1 diff -r b7f01ab7045e -r 0e42bf10f29a dsp/maths/Histogram.h --- a/dsp/maths/Histogram.h Mon May 15 15:07:27 2006 +0000 +++ b/dsp/maths/Histogram.h Wed Jul 26 20:22:43 2006 +0000 @@ -136,7 +136,10 @@ //! return number of containers unsigned int getSize() const { return m_counters.size();}; //! returns i-th counter - unsigned int operator [] (unsigned int i) const { ASSERT( i < m_counters.size() ); return m_counters[i];}; + unsigned int operator [] (unsigned int i) const { +// ASSERT( i < m_counters.size() ); + return m_counters[i]; + }; //! return the computed histogram const std::vector& geTHistogram() const { return m_counters;}; //! return the computed histogram, in TOuts