UnitTest: Fix compilation

This amends commit a5ee354b19.

Change-Id: I29938d30187fde1ac05d824276cb4b02b561645a
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Orgad Shaneh
2019-04-16 19:06:40 +03:00
committed by Orgad Shaneh
parent b2700d2da4
commit f213f6176b

View File

@@ -38,6 +38,12 @@ namespace {
class CompilationDatabaseUtils : public ::testing::Test
{
protected:
QStringList splitCommandLine(const QString &commandLine)
{
QSet<QString> flagsCache;
return CompilationDatabaseProjectManager::splitCommandLine(commandLine, flagsCache);
}
HeaderPaths headerPaths;
Macros macros;
CppTools::ProjectFile::Kind fileKind = CppTools::ProjectFile::Unclassified;