From 5e8c168fccd33e24e2c6185da80778a71237b68c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 19 Sep 2021 12:15:30 +0100 Subject: [PATCH] [Minor] Oops, fix emplacement --- src/libserver/html/html.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx index c3485b099..7c9c7cef3 100644 --- a/src/libserver/html/html.cxx +++ b/src/libserver/html/html.cxx @@ -174,7 +174,7 @@ html_check_balance(struct html_content *hc, */ if (hc->all_tags.empty()) { - hc->all_tags.emplace_back(); + hc->all_tags.push_back(std::make_unique()); auto *vtag = hc->all_tags.back().get(); vtag->id = Tag_HTML; vtag->flags = FL_VIRTUAL; -- 2.39.5