From: Scott Cantor Date: Wed, 20 Dec 2006 03:01:37 +0000 (+0000) Subject: Virtualize template parameters. X-Git-Tag: 1.0-alpha1~128 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=commitdiff_plain;h=bf6efa9884d1e1e93c05c091ffa90da17b8728d0 Virtualize template parameters. --- 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());