HistoricalBuffer now uses a Buffer backend for accountability
This commit is contained in:
parent
8d48c73b48
commit
2bbde74cac
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
#include <vector>
|
#include "Buffer.h"
|
||||||
#include "SIMDHelpers.h"
|
#include "SIMDHelpers.h"
|
||||||
#include "absl/types/span.h"
|
#include "absl/types/span.h"
|
||||||
|
|
||||||
|
|
@ -57,7 +57,7 @@ public:
|
||||||
return mean<ValueType>(buffer);
|
return mean<ValueType>(buffer);
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
std::vector<ValueType> buffer;
|
Buffer<ValueType> buffer;
|
||||||
size_t size { 0 };
|
size_t size { 0 };
|
||||||
size_t index { 0 };
|
size_t index { 0 };
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue