internal: fix cf

This commit is contained in:
Vaxry 2025-10-21 22:47:06 +01:00
parent 02b0c563f3
commit d560c26419
Signed by: vaxry
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