diff --git a/src/visitor/render_section.cpp b/src/visitor/render_section.cpp index 2a35a6e..ff1dcaa 100644 --- a/src/visitor/render_section.cpp +++ b/src/visitor/render_section.cpp @@ -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(); } diff --git a/test/filetoheader.cpp b/test/filetoheader.cpp index 9ecb6a3..54ef2ce 100644 --- a/test/filetoheader.cpp +++ b/test/filetoheader.cpp @@ -39,7 +39,6 @@ int main(int argc, char* argv[]) { ("namespace", po::value(), "namespace to use") ("input-string,S", po::value>(), "files to parse as strings") ("input-data,D", po::value>(), "files to parse as data"); - po::variables_map vm; po::store(po::parse_command_line(argc, argv, desc), vm); po::notify(vm); diff --git a/test/test_main.cpp b/test/test_main.cpp index c61fcc4..6ff2f71 100644 --- a/test/test_main.cpp +++ b/test/test_main.cpp @@ -42,4 +42,4 @@ MSTCH_TEST("String as context", mstchtest::string_as_context) MSTCH_TEST("Two in a row", mstchtest::two_in_a_row) MSTCH_TEST("Two sections", mstchtest::two_sections) MSTCH_TEST("Whitespace", mstchtest::whitespace) -//MSTCH_TEST("Zero view", mstchtest::zero_view) +MSTCH_TEST("Zero view", mstchtest::zero_view)