qualify with volatile (fix)
This commit is contained in:
parent
93b57b3bc8
commit
ee4c910ed4
1 changed files with 2 additions and 2 deletions
|
|
@ -56,8 +56,8 @@ namespace lib {
|
|||
|
||||
class Victim
|
||||
{
|
||||
long cnt_[NUM_COUNTERS];
|
||||
uint step_; ///< @note stored as instance variable
|
||||
volatile long cnt_[NUM_COUNTERS];
|
||||
volatile uint step_; ///< @note stored as instance variable
|
||||
|
||||
void
|
||||
pause ()
|
||||
|
|
|
|||
Loading…
Reference in a new issue