mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:07:45 +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
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