Skip to content

Commit

Permalink
ExampleErrorRaiser: avoid warnings
Browse files Browse the repository at this point in the history
Use valid loop index types.

Signed-off-by: Moritz Barsnick <[email protected]>
  • Loading branch information
barsnick committed Jul 2, 2024
1 parent f8a398e commit e69975c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ std::list<Condition> condition_3 = {Condition("example/ExampleErrorA", "some cus
std::vector<std::list<Condition>> conditions = {condition_0, condition_1, condition_2, condition_3};

void example_error_frameworkImpl::check_conditions() {
for (int i = 0; i < conditions.size(); i++) {
for (std::vector<std::list<Condition>>::size_type i = 0; i < conditions.size(); i++) {
if (this->error_state_monitor->is_condition_satisfied(conditions.at(i))) {
EVLOG_info << "Condition " << i << " satisfied";
} else {
Expand Down

0 comments on commit e69975c

Please sign in to comment.