made methods add and clear volatile too
This commit is contained in:
		
							parent
							
								
									c22c02722c
								
							
						
					
					
						commit
						8e25a6ba3c
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue