projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
182c331
)
Virtualize template parameters.
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 20 Dec 2006 03:01:37 +0000
(
03:01
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 20 Dec 2006 03:01:37 +0000
(
03:01
+0000)
xmltoolingtest/TemplateEngineTest.h
patch
|
blob
|
history
diff --git
a/xmltoolingtest/TemplateEngineTest.h
b/xmltoolingtest/TemplateEngineTest.h
index
96deea0
..
29d218a
100644
(file)
--- a/
xmltoolingtest/TemplateEngineTest.h
+++ b/
xmltoolingtest/TemplateEngineTest.h
@@
-31,9
+31,9
@@
public:
void testTemplateEngine() {
auto_ptr<TemplateEngine> engine(new TemplateEngine());
-
map<string,string>
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());