This commit is contained in:
Daniel Sipka 2015-04-10 13:21:16 +02:00
parent b38a107b46
commit 311aed9e10
3 changed files with 2 additions and 4 deletions

View file

@ -32,8 +32,7 @@ std::string visitor::render_section::operator()(const std::string& str) const {
std::string visitor::render_section::operator()(const array& arr) const {
std::ostringstream out;
for (auto& item: arr)
if (!boost::apply_visitor(visitor::is_node_empty(), item))
out << boost::apply_visitor(*this, item);
out << boost::apply_visitor(*this, item);
return out.str();
}