Skip to content

Commit

Permalink
the _cancelled member was not initialized on construction
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljar committed Sep 20, 2016
1 parent 378d260 commit a0a4cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tempqueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class TempQueue
* Was the consumer cancelled?
* @var bool
*/
bool _cancelled;
bool _cancelled = false;

/**
* Is the object ready, or do we still have to clean up things?
Expand Down

0 comments on commit a0a4cfc

Please sign in to comment.