forked from qt-creator/qt-creator
Clang: Use MessageEnvelop instead of QVariant
QVariant has unwanted dependencies so we provided our own simpler solution. We want to support move only types and calling the copy constructor as you move the value in and outside. This copying is adding unwanted overhead too. Change-Id: I2e27a7924868efe81e8b8ff3415499c9fa22c2bc Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -118,14 +118,6 @@ bool operator==(const FileContainer &first, const FileContainer &second)
|
||||
return first.filePath_ == second.filePath_ && first.projectPartId_ == second.projectPartId_;
|
||||
}
|
||||
|
||||
bool operator<(const FileContainer &first, const FileContainer &second)
|
||||
{
|
||||
if (first.filePath_ == second.filePath_)
|
||||
return first.projectPartId_ < second.projectPartId_;
|
||||
|
||||
return first.filePath_ < second.filePath_;
|
||||
}
|
||||
|
||||
QDebug operator<<(QDebug debug, const FileContainer &container)
|
||||
{
|
||||
debug.nospace() << "FileContainer("
|
||||
|
||||
Reference in New Issue
Block a user