mirror of
https://github.com/hyprwm/hyprutils.git
synced 2025-12-24 23:00:03 +01:00
more friend required for some constructors
This commit is contained in:
parent
b044e95a82
commit
b39e7396dc
1 changed files with 7 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue