optimizations
This commit is contained in:
parent
dc513839bd
commit
25bbbfdbcc
8 changed files with 22 additions and 26 deletions
|
@ -18,8 +18,7 @@ std::string state::in_section::render(render_context& ctx, const token& token) {
|
|||
std::string out;
|
||||
if (!boost::apply_visitor(visitor::is_node_empty(), section_node))
|
||||
out = boost::apply_visitor(
|
||||
visitor::render_section(ctx, section),
|
||||
section_node);
|
||||
visitor::render_section(ctx, section), section_node);
|
||||
ctx.set_state<outside_section>();
|
||||
return out;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue