Skip to content

Commit

Permalink
Fix lint suggestion that pass const reference for std::string.
Browse files Browse the repository at this point in the history
  • Loading branch information
tcw165 committed Sep 8, 2022
1 parent 364c104 commit 35a0f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/test_schedulers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ SCENARIO("trampoline scheduler dispatches task in the same thread")
}
}

static std::vector<std::string> trampoline_expected_simulate_nested_scheduling(std::string thread_id)
static std::vector<std::string> trampoline_expected_simulate_nested_scheduling(const std::string& thread_id)
{
return std::vector<std::string>{
"Task 1 starts "s + thread_id,
Expand Down

0 comments on commit 35a0f60

Please sign in to comment.