Skip to content

Commit

Permalink
Initialize statsGuard_
Browse files Browse the repository at this point in the history
Hopefully this fixes the segfaults seeing in this module in IBs.
  • Loading branch information
makortel authored and wddgit committed Apr 1, 2024
1 parent 771bc0d commit 8ed0a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DPGAnalysis/Skims/src/LogErrorEventFilter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class LogErrorEventFilter : public edm::global::EDFilter<edm::RunCache<leef::Run
size_t maxSavedEventsPerLumi_;
bool verbose_, veryVerbose_;
bool taggedMode_, forcedValue_;
mutable std::atomic<bool> statsGuard_;
mutable std::atomic<bool> statsGuard_{false};

template <typename Collection>
static void increment(ErrorSet &scoreboard, Collection &list);
Expand Down

0 comments on commit 8ed0a21

Please sign in to comment.