CppTools: Fix compile with gcc7

Amends 18ab828b6b.

Change-Id: I758e0a584769b665eb7215da5a9f42938d3de5fb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Christian Stenger
2021-07-21 07:30:24 +02:00
parent f46c8b5c92
commit 1a0c9a5ce4

View File

@@ -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},