made methods add and clear volatile too

This commit is contained in:
cmdgears 2021-10-20 17:45:13 +02:00
parent c22c02722c
commit 8e25a6ba3c

View file

@ -19,8 +19,8 @@ class Statistic
{
public:
Statistic(bool useStdDev = true); // "switches on/off" stdev run time
void clear(bool useStdDev = true); // "switches on/off" stdev run time
float add(const float); // returns value actually added
void clear(bool useStdDev = true) volatile; // "switches on/off" stdev run time
float add(const float) volatile; // returns value actually added
// returns the number of values added