From 1a0c9a5ce4211cd752b091f766af725bf54b0b8d Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 21 Jul 2021 07:30:24 +0200 Subject: [PATCH] CppTools: Fix compile with gcc7 Amends 18ab828b6b8. Change-Id: I758e0a584769b665eb7215da5a9f42938d3de5fb Reviewed-by: Christian Kandeler --- src/plugins/cpptools/projectinfo_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/cpptools/projectinfo_test.cpp b/src/plugins/cpptools/projectinfo_test.cpp index ea3fc34514f..a541df4819f 100644 --- a/src/plugins/cpptools/projectinfo_test.cpp +++ b/src/plugins/cpptools/projectinfo_test.cpp @@ -476,7 +476,8 @@ class HeaderPathFilterTest public: HeaderPathFilterTest() : project({}, Utils::FilePath::fromString("test")) { - const auto headerPaths = {HeaderPath{"", HeaderPathType::BuiltIn}, + const auto headerPaths = HeaderPaths{ + HeaderPath{"", HeaderPathType::BuiltIn}, HeaderPath{"/builtin_path", HeaderPathType::BuiltIn}, HeaderPath{"/system_path", HeaderPathType::System}, HeaderPath{"/framework_path", HeaderPathType::Framework},