Skip to content

Commit

Permalink
fixed TArray::push_back
Browse files Browse the repository at this point in the history
  • Loading branch information
prof-hastig committed Jan 5, 2024
1 parent c62ecc4 commit 13c121e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utility/tarray.h
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ class TArray
Resize(i);
}

void push_back(T& elem)
void push_back(const T& elem)
{
Push(elem);
}
Expand Down

0 comments on commit 13c121e

Please sign in to comment.