forked from qt-creator/qt-creator
CppTools: Fix build with namespaced Qt.
Change-Id: Idec32131c20b91c3d08ac16fbcc1c14ee5ede450 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -78,9 +78,7 @@ void ProjectFileAdder::addMapping(const char *mimeName, ProjectFile::Kind kind)
|
||||
m_mapping.append(Pair(mimeType, kind));
|
||||
}
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
QDebug operator <<(QDebug stream, const CPlusPlus::ProjectFile &cxxFile)
|
||||
QDebug operator<<(QDebug stream, const CPlusPlus::ProjectFile &cxxFile)
|
||||
{
|
||||
const char *kind;
|
||||
switch (cxxFile.kind) {
|
||||
@@ -99,3 +97,5 @@ QDebug operator <<(QDebug stream, const CPlusPlus::ProjectFile &cxxFile)
|
||||
stream << cxxFile.path << QLatin1String(", ") << kind;
|
||||
return stream;
|
||||
}
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
Reference in New Issue
Block a user