3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2025-10-29 11:22:47 +00:00

internal: fix cf

This commit is contained in:
Vaxry 2025-10-21 22:47:06 +01:00
parent 02b0c563f3
commit d560c26419
No known key found for this signature in database
GPG Key ID: 665806380871D640
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ class CDRMSyncPointState {
Hyprutils::OS::CFileDescriptor exportAsFD();
void signal();
//
operator bool() const {
return m_timeline;
}

View File

@ -56,6 +56,7 @@ class CHLBufferReference {
bool operator==(const SP<IHLBuffer>& other) const;
bool operator==(const SP<Aquamarine::IBuffer>& other) const;
SP<IHLBuffer> operator->() const;
//
operator bool() const;
// unlock and drop the buffer without sending release