Skip to content

Commit

Permalink
remove volatile for pending and remove flags
Browse files Browse the repository at this point in the history
  • Loading branch information
JoGei committed Dec 6, 2021
1 parent f1ce206 commit fba85d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/etiss/fault/Injector.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ class Injector
#if CXX0X_UP_SUPPORTED
std::mutex sync;
#endif
volatile bool has_pending_triggers{false};
volatile bool has_remove_triggers{false};
bool has_pending_triggers{ false };
bool has_remove_triggers{ false };
std::list<std::pair<Trigger, int32_t>> pending_triggers; ///< Triggers which were just added
std::list<std::pair<Trigger, int32_t>> unknown_triggers; ///< Triggers to look at in callbacks
std::list<std::pair<Trigger, int32_t>>
Expand Down

0 comments on commit fba85d5

Please sign in to comment.