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
Notes: sideshowbarker 2024-07-19 01:26:32 +09:00

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;