From: Vsevolod Stakhov Date: Sun, 19 Sep 2021 11:15:30 +0000 (+0100) Subject: [Minor] Oops, fix emplacement X-Git-Tag: 3.1~142 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e8c168fccd33e24e2c6185da80778a71237b68c;p=thirdparty%2Frspamd.git [Minor] Oops, fix emplacement --- diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx index c3485b0996..7c9c7cef3a 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;