mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 19:19:44 +03: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: https://github.com/SerenityOS/serenity/commit/5570b16f6fc Pull-request: https://github.com/SerenityOS/serenity/pull/4047
@ -113,7 +113,7 @@ template<typename T>
|
||||
class Optional;
|
||||
|
||||
template<typename T>
|
||||
class RefPtrTraits;
|
||||
struct RefPtrTraits;
|
||||
|
||||
template<typename T, typename PtrTraits = RefPtrTraits<T>>
|
||||
class RefPtr;
|
||||
|
Loading…
Reference in New Issue
Block a user