mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
Fix a few minor int pointer value initializations
This commit is contained in:
parent
3b0e8ee6f1
commit
103b381874
2 changed files with 4 additions and 4 deletions
|
@ -100,9 +100,9 @@ TEST_CASE("list iteration")
|
|||
TEST_CASE("plists")
|
||||
{
|
||||
zeek::PList<int> list;
|
||||
list.push_back(new int(1));
|
||||
list.push_back(new int(2));
|
||||
list.push_back(new int(3));
|
||||
list.push_back(new int{1});
|
||||
list.push_back(new int{2});
|
||||
list.push_back(new int{3});
|
||||
|
||||
CHECK(*list[0] == 1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue