From 81f33072b90ba2ff860654ad59eba7d651c5bfb7 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 10 May 2022 08:14:32 +0200 Subject: [PATCH] Tests: Fix compile of test app on macOS Change-Id: I1a96bc57bae2aa3f1f7a1c0d6d4306cf5c36a78b Reviewed-by: hjk --- tests/auto/debugger/tst_dumpers.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 4c6c9919d0c..2046b948ee4 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -5301,7 +5301,9 @@ void tst_Dumpers::dumper_data() << Data("#include \n" "#include \n" "template\n" - "class myallocator : public std::allocator {};\n", + "class myallocator : public std::allocator {\n" + "using std::allocator::allocator;\n" + "};\n", "std::vector v0, v1;\n" "v1.push_back(1);\n"