mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:28:11 +00:00
LibJS: Let Utf16String be forward-declared in Value.h
It's only used as a template parameter, so let it be forward-declared. Otherwise, we aren't able to include Completion.h in Utf16String.h, as there would be a Utf16String -> Completion -> Value -> Utf16String include cycle.
This commit is contained in:
parent
425c168ded
commit
49b24b0968
2 changed files with 1 additions and 1 deletions
|
@ -36,6 +36,7 @@
|
|||
#include <LibJS/Runtime/StringObject.h>
|
||||
#include <LibJS/Runtime/StringPrototype.h>
|
||||
#include <LibJS/Runtime/SymbolObject.h>
|
||||
#include <LibJS/Runtime/Utf16String.h>
|
||||
#include <LibJS/Runtime/VM.h>
|
||||
#include <LibJS/Runtime/Value.h>
|
||||
#include <math.h>
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include <LibJS/Forward.h>
|
||||
#include <LibJS/Heap/GCPtr.h>
|
||||
#include <LibJS/Runtime/BigInt.h>
|
||||
#include <LibJS/Runtime/Utf16String.h>
|
||||
#include <math.h>
|
||||
|
||||
// 2 ** 53 - 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue