mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
LibWeb: Add missing typeinfo
include
This code worked with GCC because libstdc++ pulls in `type_info`'s definition through the `cxxabi` header included by `AK/Demangle.h`. In contrast, `libc++` only forward-declares it, so this code failed to compile with it.
This commit is contained in:
parent
ef40de9c6c
commit
11a945a499
Notes:
sideshowbarker
2024-07-18 09:04:47 +09:00
Author: https://github.com/BertalanD
Commit: 11a945a499
Pull-request: https://github.com/SerenityOS/serenity/pull/8696
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/gunnarbeutner ✅
Reviewed-by: https://github.com/networkException
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
#include <LibWeb/Layout/Node.h>
|
||||
#include <LibWeb/Layout/TextNode.h>
|
||||
#include <LibWeb/Page/BrowsingContext.h>
|
||||
#include <typeinfo>
|
||||
|
||||
namespace Web::Layout {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue