Commit a77b49dc authored by Yuval Hager's avatar Yuval Hager

silence clang-7 self-assign-overloaded warning

parent 67fac85e
......@@ -503,7 +503,7 @@ TEST(Pointer, Assignment) {
EXPECT_STREQ("0", q.GetTokens()[1].name);
EXPECT_EQ(0u, q.GetTokens()[1].index);
EXPECT_NE(&p.GetAllocator(), &q.GetAllocator());
q = q;
q = static_cast<Pointer>(q);
EXPECT_TRUE(q.IsValid());
EXPECT_EQ(2u, q.GetTokenCount());
EXPECT_EQ(3u, q.GetTokens()[0].length);
......
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