mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-28 19:52:02 +01:00
add missing 'typename'
This commit is contained in:
@@ -27,7 +27,7 @@ TEST(Value, assignment_operator) {
|
|||||||
|
|
||||||
template <typename Value>
|
template <typename Value>
|
||||||
void TestCopyFrom() {
|
void TestCopyFrom() {
|
||||||
Value::AllocatorType a;
|
typename Value::AllocatorType a;
|
||||||
Value v1(1234);
|
Value v1(1234);
|
||||||
Value v2(v1, a); // deep copy constructor
|
Value v2(v1, a); // deep copy constructor
|
||||||
EXPECT_TRUE(v1.GetType() == v2.GetType());
|
EXPECT_TRUE(v1.GetType() == v2.GetType());
|
||||||
|
|||||||
Reference in New Issue
Block a user