summaryrefslogtreecommitdiffstats
path: root/src/templates/count.mako.cpp
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-05-31 21:10:43 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-06-19 16:28:05 -0400
commitec2ed2fb324d92573418afcc17365c83373023ec (patch)
treef166bc01eb1c33cf73144fb487629082b5aeb508 /src/templates/count.mako.cpp
parentbabf3b78deb58a2f40e405713f5ceb1485457529 (diff)
downloadphosphor-dbus-monitor-ec2ed2fb324d92573418afcc17365c83373023ec.tar.gz
phosphor-dbus-monitor-ec2ed2fb324d92573418afcc17365c83373023ec.zip
Fix bool and string templates/rendering
Fix a number of bugs related to rendering and instantiation of string and bool templates. Change-Id: Ic75842b4016f4d96bf5850f9c4ad778d82e075ed Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/templates/count.mako.cpp')
-rw-r--r--src/templates/count.mako.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/count.mako.cpp b/src/templates/count.mako.cpp
index d348518..9ac9c3c 100644
--- a/src/templates/count.mako.cpp
+++ b/src/templates/count.mako.cpp
@@ -1,4 +1,4 @@
std::make_unique<CountCondition<${c.datatype}>>(
${indent(1)}ConfigPropertyIndicies::get()[${c.instances}],
${indent(1)}[](const auto& item){return item ${c.countop} ${c.countbound};},
-${indent(1)}[](const auto& item){return item ${c.op} ${c.bound};})\
+${indent(1)}[](const auto& item){return item ${c.op} ${c.bound.argument(loader, indent=indent +1)};})\
OpenPOWER on IntegriCloud