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:
Lenny Maiorani
2020-11-11 11:28:04 -07:00
committed by Andreas Kling
parent de6483bcdb
commit 5570b16f6f

View File

@@ -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;