diff options
Diffstat (limited to 'AK/Forward.h')
-rw-r--r-- | AK/Forward.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/AK/Forward.h b/AK/Forward.h index 938c9fcb8f..cced16c5bf 100644 --- a/AK/Forward.h +++ b/AK/Forward.h @@ -115,11 +115,16 @@ class NonnullOwnPtrVector; template<typename T> class Optional; +#ifdef KERNEL template<typename T> struct RefPtrTraits; template<typename T, typename PtrTraits = RefPtrTraits<T>> class RefPtr; +#else +template<typename T> +class RefPtr; +#endif template<typename T> class OwnPtr; |