mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +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: https://github.com/SerenityOS/serenity/commit/11a945a499b 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…
Reference in a new issue