Utils: Fix unittest

Prevent operator selection to be ambiguous.

Change-Id: I1ff0d6aad8fe5ce24b0d1038c1b6121a595800fe
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Marco Bubke
2016-08-17 16:32:00 +02:00
parent 7c287eb6f9
commit d23c4985cb

View File

@@ -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()));
}