Unverified Commit a6321605 authored by Milo Yip's avatar Milo Yip Committed by GitHub

Merge pull request #1388 from yhager/yhager/clang-7

silence clang-7 self-assign-overloaded warning
parents 595ed48d 0cc44c82
......@@ -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<const 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