add missing 'typename'
This commit is contained in:
parent
c8673ef3de
commit
3254a784bb
@ -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());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user