Commit d23c4985 authored by Marco Bubke's avatar Marco Bubke

Utils: Fix unittest

Prevent operator selection to be ambiguous.

Change-Id: I1ff0d6aad8fe5ce24b0d1038c1b6121a595800fe
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
parent 7c287eb6
......@@ -291,7 +291,7 @@ TEST(SmallString, BeginPlusOneIsEqualEndForSmallStringWidthSizeOne)
{
SmallString text("x");
auto beginPlusOne = text.begin() + 1l;
auto beginPlusOne = text.begin() + std::size_t(1);
ASSERT_THAT(beginPlusOne, Eq(text.end()));
}
......
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