Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
ullingerc committed Dec 1, 2024
1 parent 8f52c76 commit b4c6340
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/engine/Operation.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ class Operation {

/// interface to the generated warnings of this operation
std::vector<std::string>& getWarnings() {
// TODO<ullingerc> How do we keep this lock alive? Or copy the warnings
// (should be small usually)?
std::lock_guard l{warningsMutex_};
return warnings_;
}

Check warning on line 263 in src/engine/Operation.h

View check run for this annotation

Codecov / codecov/patch

src/engine/Operation.h#L258-L263

Added lines #L258 - L263 were not covered by tests
Expand Down

0 comments on commit b4c6340

Please sign in to comment.