Skip to content

Commit

Permalink
When compiling with GCC 14.1.0 (C++23) parser->data is not initialize…
Browse files Browse the repository at this point in the history
…d. Added base class initialization to HTTPParser fixes this.
  • Loading branch information
Wesley Sneijers authored and gittiver committed Nov 25, 2024
1 parent 5a972fe commit 52a213d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/crow/parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ namespace crow
return 0;
}
HTTPParser(Handler* handler):
http_parser(),
handler_(handler)
{
http_parser_init(this);
Expand Down

0 comments on commit 52a213d

Please sign in to comment.