Commit f4a8f52b authored by Robert Loehning's avatar Robert Loehning Committed by Marco Bubke

Utils: Use ref instead of copying large object

Change-Id: I77ea6d1e9eaf16e92ce04cc59357b2c754d76e44
Reviewed-by: Marco Bubke's avatarMarco Bubke <marco.bubke@qt.io>
parent 4280e937
......@@ -694,7 +694,7 @@ unittest_public:
}
private:
BasicSmallString(Internal::StringDataLayout<Size> data) noexcept
BasicSmallString(const Internal::StringDataLayout<Size> &data) noexcept
: m_data(data)
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment