Skip to content

Commit

Permalink
fix test_sort for gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
rask24 committed Feb 9, 2024
1 parent ebedfbd commit 7c650ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_sort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static void sort_test_main(int N) {
t_stack *stack_a = NULL;
t_stack *stack_b = NULL;
for (int &i : v) {
t_content *c = new t_content({i, 0, 0, 0, 0});
t_content *c = new t_content({i, 0, 0, 0, 0, 0, INIT, false});
ft_lstadd_back(&stack_a, ft_lstnew(c));
}
// sort
Expand Down

0 comments on commit 7c650ba

Please sign in to comment.