forked from qt-creator/qt-creator
Core: Avoid copy in IDocument::filePath()
Change-Id: I40d5ebc73856e85e36080b94e071edef15242666 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
a5c0b56832
commit
c273a47dcb
@@ -129,7 +129,7 @@ bool IDocument::setContents(const QByteArray &contents)
|
||||
return false;
|
||||
}
|
||||
|
||||
Utils::FileName IDocument::filePath() const
|
||||
const Utils::FileName &IDocument::filePath() const
|
||||
{
|
||||
return d->filePath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user