Skip to content

Commit 3cdfde1

Browse files
committed
replace auto with concrete type
1 parent d179fac commit 3cdfde1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unittest/platformtest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ TEST(Platform, GetObject) {
3333
EXPECT_TRUE(doc.HasMember("object"));
3434
const Document::ValueType& o = doc["object"];
3535
EXPECT_TRUE(o.IsObject());
36-
auto sub = o.GetObject();
36+
Value::ConstObject sub = o.GetObject();
3737
EXPECT_TRUE(sub.HasMember("pi"));
38-
auto sub2 = o.GetObj();
38+
Value::ConstObject sub2 = o.GetObj();
3939
EXPECT_TRUE(sub2.HasMember("pi"));
4040
}

0 commit comments

Comments
 (0)