We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a77b49d commit 0cc44c8Copy full SHA for 0cc44c8
test/unittest/pointertest.cpp
@@ -503,7 +503,7 @@ TEST(Pointer, Assignment) {
503
EXPECT_STREQ("0", q.GetTokens()[1].name);
504
EXPECT_EQ(0u, q.GetTokens()[1].index);
505
EXPECT_NE(&p.GetAllocator(), &q.GetAllocator());
506
- q = static_cast<Pointer>(q);
+ q = static_cast<const Pointer &>(q);
507
EXPECT_TRUE(q.IsValid());
508
EXPECT_EQ(2u, q.GetTokenCount());
509
EXPECT_EQ(3u, q.GetTokens()[0].length);
0 commit comments