more friend required for some constructors

This commit is contained in:
Maximilian Seidler 2025-06-24 10:07:37 +02:00
parent b044e95a82
commit b39e7396dc

View file

@ -170,6 +170,8 @@ namespace Hyprutils::Memory {
template <typename U>
friend class CAtomicWeakPointer;
template <typename U>
friend class CAtomicSharedPointer;
};
template <typename T>
@ -334,6 +336,11 @@ namespace Hyprutils::Memory {
}
CWeakPointer<T> m_ptr;
template <typename U>
friend class CAtomicWeakPointer;
template <typename U>
friend class CAtomicSharedPointer;
};
template <typename U, typename... Args>