From 460cfcaf3e42fb86bc107dcc7c080dfeb71520ed Mon Sep 17 00:00:00 2001 From: John Keiser Date: Mon, 27 Jul 2020 21:13:24 -0700 Subject: [PATCH] Make parse_structurals inline --- src/generic/stage2/structural_parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/stage2/structural_parser.h b/src/generic/stage2/structural_parser.h index 6b8eda73a..0a715b8f5 100644 --- a/src/generic/stage2/structural_parser.h +++ b/src/generic/stage2/structural_parser.h @@ -294,7 +294,7 @@ struct structural_parser : structural_iterator { }; // struct structural_parser template -WARN_UNUSED static error_code parse_structurals(dom_parser_implementation &dom_parser, dom::document &doc) noexcept { +WARN_UNUSED static really_inline error_code parse_structurals(dom_parser_implementation &dom_parser, dom::document &doc) noexcept { dom_parser.doc = &doc; stage2::structural_parser parser(dom_parser, STREAMING ? dom_parser.next_structural_index : 0); error_code result = parser.start();