From 8e25a6ba3cd1542ffce881a19810a439b9ccd218 Mon Sep 17 00:00:00 2001 From: cmdgears Date: Wed, 20 Oct 2021 17:45:13 +0200 Subject: [PATCH] made methods add and clear volatile too --- Statistic.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Statistic.h b/Statistic.h index 55d1365..dddc26f 100644 --- a/Statistic.h +++ b/Statistic.h @@ -18,9 +18,9 @@ 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 + Statistic(bool useStdDev = true); // "switches on/off" stdev run time + 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