Tests: Fix compile of test app on macOS

Change-Id: I1a96bc57bae2aa3f1f7a1c0d6d4306cf5c36a78b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2022-05-10 08:14:32 +02:00
parent d10f3f8342
commit 81f33072b9

View File

@@ -5301,7 +5301,9 @@ void tst_Dumpers::dumper_data()
<< Data("#include <vector>\n"
"#include <list>\n"
"template<class T>\n"
"class myallocator : public std::allocator<T> {};\n",
"class myallocator : public std::allocator<T> {\n"
"using std::allocator<T>::allocator;\n"
"};\n",
"std::vector<double> v0, v1;\n"
"v1.push_back(1);\n"