added typename keyword in MovingMinMaxAvg.h

This commit is contained in:
wangyix 2014-07-10 10:35:29 -07:00
parent 763cc26fa9
commit 35e4b253c2

View file

@ -101,8 +101,8 @@ public:
_existingSamplesInCurrentInterval = 0; _existingSamplesInCurrentInterval = 0;
// update the window's stats by combining the intervals' stats // update the window's stats by combining the intervals' stats
RingBufferHistory<Stats>::Iterator i = _intervalStats.begin(); typename RingBufferHistory<Stats>::Iterator i = _intervalStats.begin();
RingBufferHistory<Stats>::Iterator end = _intervalStats.end(); typename RingBufferHistory<Stats>::Iterator end = _intervalStats.end();
_windowStats = Stats(); _windowStats = Stats();
int intervalsIncludedInWindowStats = 0; int intervalsIncludedInWindowStats = 0;
while (i != end) { while (i != end) {