Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jan 11, 2024
1 parent 9a2b895 commit 071e5c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cfg/std.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -900,12 +900,12 @@ int std_map_find_constref(std::map<int, int>& m) // #11857
return ++*p;
}

void std_queue_front_ignoredReturnValue(const std::queue& q) {
void std_queue_front_ignoredReturnValue(const std::queue<int>& q) {
// cppcheck-suppress ignoredReturnValue
q.front();
}

void std_priority_queue_top_ignoredReturnValue(const std::priority_queue& pq) {
void std_priority_queue_top_ignoredReturnValue(const std::priority_queue<int>& pq) {
// cppcheck-suppress ignoredReturnValue
pq.top();
}
Expand Down

0 comments on commit 071e5c6

Please sign in to comment.