From bf6efa9884d1e1e93c05c091ffa90da17b8728d0 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Wed, 20 Dec 2006 03:01:37 +0000 Subject: [PATCH] Virtualize template parameters. --- xmltoolingtest/TemplateEngineTest.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xmltoolingtest/TemplateEngineTest.h b/xmltoolingtest/TemplateEngineTest.h index 96deea0..29d218a 100644 --- a/xmltoolingtest/TemplateEngineTest.h +++ b/xmltoolingtest/TemplateEngineTest.h @@ -31,9 +31,9 @@ public: void testTemplateEngine() { auto_ptr engine(new TemplateEngine()); - map p; - p["foo1"] = "bar1"; - p["foo3"] = "bar3"; + TemplateEngine::TemplateParameters p; + p.m_map["foo1"] = "bar1"; + p.m_map["foo3"] = "bar3"; string path = data_path + "template.in"; ifstream in(path.c_str()); -- 2.1.4