Skip to content

Commit b180794

Browse files
committed
Fix issues with valgrind running on g++-14
1 parent 6e6bc9f commit b180794

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/verify-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ jobs:
222222
os-type: ubuntu
223223
build-type: valgrind
224224
compiler-family: gcc
225-
c-compiler: gcc-13
226-
cc-compiler: g++-13
225+
c-compiler: gcc-14
226+
cc-compiler: g++-14
227227
debug: nodebug
228228
coverage: nocoverage
229229
- test-group: extra

test/littletest.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
#define LT_BEGIN_TEST(__lt_suite_name__, __lt_test_name__) \
7171
struct __lt_test_name__ ## _class: public __lt_suite_name__, littletest::test<__lt_test_name__ ## _class> \
7272
{ \
73+
using littletest::test_base::operator(); \
7374
__lt_test_name__ ## _class() \
7475
{ \
7576
__lt_name__ = #__lt_test_name__; \

0 commit comments

Comments
 (0)