forked from qt-creator/qt-creator
Utils: SmallString swap cannot throw
Change-Id: I4ae30adc6ca77681a4b21281148831d3ab3d728e Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -211,8 +211,7 @@ public:
|
|||||||
return clonedString;
|
return clonedString;
|
||||||
}
|
}
|
||||||
|
|
||||||
friend
|
friend void swap(BasicSmallString &first, BasicSmallString &second) noexcept
|
||||||
void swap(BasicSmallString &first, BasicSmallString &second)
|
|
||||||
{
|
{
|
||||||
using std::swap;
|
using std::swap;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user