Browse Source

[Minor] Oops, fix emplacement

tags/3.1
Vsevolod Stakhov 2 years ago
parent
commit
5e8c168fcc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libserver/html/html.cxx

+ 1
- 1
src/libserver/html/html.cxx View File

@@ -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;

Loading…
Cancel
Save