Skip to content

Commit

Permalink
fix: initialise conditionFlag as false (robosoft-ai#274) (robosoft-ai…
Browse files Browse the repository at this point in the history
…#278)

* fix: initialise conditionFlag as false (robosoft-ai#274)

* fixing precomit

Co-authored-by: David Revay <[email protected]>
  • Loading branch information
pabloinigoblasco and MrBlenny authored Mar 30, 2022
1 parent 43e6bb4 commit 204860b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repos:
args: [--py36-plus]

- repo: https://github.com/psf/black
rev: 21.12b0
rev: 22.3.0
hooks:
- id: black
args: ["--line-length=99"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class SrConditional : public StateReactor
{
private:
std::map<const std::type_info *, bool> triggeredEvents;
bool conditionFlag;
bool conditionFlag = false;

public:
SrConditional(std::function<bool(TEv *)> sr_conditionalFunction)
Expand Down

0 comments on commit 204860b

Please sign in to comment.