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;
|
||||
}
|
||||
|
||||
friend
|
||||
void swap(BasicSmallString &first, BasicSmallString &second)
|
||||
friend void swap(BasicSmallString &first, BasicSmallString &second) noexcept
|
||||
{
|
||||
using std::swap;
|
||||
|
||||
|
Reference in New Issue
Block a user