From d151be77ab2bfb17154ecfd27e10650f86af89bd Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 18 Dec 2017 12:11:09 +0000 Subject: [PATCH] .autotest git-svn-id: svn://ultimatepp.org/upp/trunk@11572 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- autotest/Create/Create.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/autotest/Create/Create.cpp b/autotest/Create/Create.cpp index 3923de0a6..cb20a8112 100644 --- a/autotest/Create/Create.cpp +++ b/autotest/Create/Create.cpp @@ -40,15 +40,15 @@ void TestCreateT() Vector v; v.Add(12); // Copy-constructor - h.Create(v, 22); + h.template Create(v, 22); DDUMP(v.GetCount()); ASSERT(v.GetCount() == 1); // Move-constructor - h.Create(pick(v), 22); + h.template Create(pick(v), 22); DDUMP(v.GetCount()); ASSERT(v.GetCount() == 0); v.Add(21); - h.Create(clone(v), 22); + h.template Create(clone(v), 22); DDUMP(v.GetCount()); ASSERT(v.GetCount() == 1); } @@ -61,15 +61,15 @@ void TestCreateMap() Vector v; v.Add(12); // Copy-constructor - h.Create("a", v, 22); + h.template Create("a", v, 22); DDUMP(v.GetCount()); ASSERT(v.GetCount() == 1); // Move-constructor - h.Create("a", pick(v), 22); + h.template Create("a", pick(v), 22); DDUMP(v.GetCount()); ASSERT(v.GetCount() == 0); v.Add(21); - h.Create("a", clone(v), 22); + h.template Create("a", clone(v), 22); DDUMP(v.GetCount()); ASSERT(v.GetCount() == 1); }