forked from qt-creator/qt-creator
Utils: Use ref instead of copying large object
Change-Id: I77ea6d1e9eaf16e92ce04cc59357b2c754d76e44 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
committed by
Marco Bubke
parent
4280e93737
commit
f4a8f52b0d
@@ -694,7 +694,7 @@ unittest_public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BasicSmallString(Internal::StringDataLayout<Size> data) noexcept
|
BasicSmallString(const Internal::StringDataLayout<Size> &data) noexcept
|
||||||
: m_data(data)
|
: m_data(data)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user