diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-19 12:15:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-19 12:15:30 +0100 |
commit | 5e8c168fccd33e24e2c6185da80778a71237b68c (patch) | |
tree | ab65203e7523d756af18ab5d85916e9c9b73f8a3 /src/libserver | |
parent | 19424515ec8b3dcb133cef30bf10f8c6b19cc3aa (diff) | |
download | rspamd-5e8c168fccd33e24e2c6185da80778a71237b68c.tar.gz rspamd-5e8c168fccd33e24e2c6185da80778a71237b68c.zip |
[Minor] Oops, fix emplacement
Diffstat (limited to 'src/libserver')
-rw-r--r-- | src/libserver/html/html.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<html_tag>()); auto *vtag = hc->all_tags.back().get(); vtag->id = Tag_HTML; vtag->flags = FL_VIRTUAL; |