Skip to content

Commit 6c62ae2

Browse files
committed
Change to C++ 14
1 parent 098b016 commit 6c62ae2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/arraymerge_gtest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Check out the code
3535
uses: actions/checkout@v2
3636
- name: Compile test code
37-
run: g++ -Wall -g -o array_merge_test ../mergesort/mergesort.c array_merge.c array_merge_test.cpp -lgtest -pthread -std=c++0x
37+
run: g++ -Wall -g -o array_merge_test ../mergesort/mergesort.c array_merge.c array_merge_test.cpp -lgtest -pthread -std=c++14
3838
working-directory: array_merge
3939
- name: Run test
4040
run: ./array_merge_test

.github/workflows/arraymerge_test_valgrind.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Check out the code
3737
uses: actions/checkout@v2
3838
- name: Compile code
39-
run: g++ -Wall -g -o array_merge_test ../mergesort/mergesort.c array_merge.c array_merge_test.cpp -lgtest -pthread -std=c++0x
39+
run: g++ -Wall -g -o array_merge_test ../mergesort/mergesort.c array_merge.c array_merge_test.cpp -lgtest -pthread -std=c++14
4040
working-directory: array_merge
4141
- name: Run test
4242
run: valgrind -v --leak-check=full --show-leak-kinds=all --error-exitcode=1 ./array_merge_test

.github/workflows/mergesort_gtest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Check out the code
3333
uses: actions/checkout@v2
3434
- name: Compile test code
35-
run: g++ -Wall -g -o mergesort_test mergesort.c mergesort_test.cpp -lgtest -pthread -std=c++0x
35+
run: g++ -Wall -g -o mergesort_test mergesort.c mergesort_test.cpp -lgtest -pthread -std=c++14
3636
working-directory: mergesort
3737
- name: Run test
3838
run: ./mergesort_test

.github/workflows/mergesort_test_valgrind.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Check out the code
3535
uses: actions/checkout@v2
3636
- name: Compile code
37-
run: g++ -Wall -g -o mergesort_test mergesort.c mergesort_test.cpp -lgtest -pthread -std=c++0x
37+
run: g++ -Wall -g -o mergesort_test mergesort.c mergesort_test.cpp -lgtest -pthread -std=c++14
3838
working-directory: mergesort
3939
- name: Run test
4040
run: valgrind -v --leak-check=full --show-leak-kinds=all --error-exitcode=1 ./mergesort_test

0 commit comments

Comments
 (0)