mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
RefPtrTraits: struct/class mismatch in forward declaration
Problem: - Building with clang is broken because of the `struct` vs `class` mismatch between the definition and declaration. Solution: - Change `class` to `struct` in the forward declaration.
This commit is contained in:
parent
de6483bcdb
commit
5570b16f6f
Notes:
sideshowbarker
2024-07-19 01:26:32 +09:00
Author: https://github.com/ldm5180
Commit: 5570b16f6f
Pull-request: https://github.com/SerenityOS/serenity/pull/4047
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ template<typename T>
|
||||||
class Optional;
|
class Optional;
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class RefPtrTraits;
|
struct RefPtrTraits;
|
||||||
|
|
||||||
template<typename T, typename PtrTraits = RefPtrTraits<T>>
|
template<typename T, typename PtrTraits = RefPtrTraits<T>>
|
||||||
class RefPtr;
|
class RefPtr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue