diff --git a/src/protocols/DRMSyncobj.hpp b/src/protocols/DRMSyncobj.hpp index 4fcbaf09..36da4cce 100644 --- a/src/protocols/DRMSyncobj.hpp +++ b/src/protocols/DRMSyncobj.hpp @@ -25,6 +25,7 @@ class CDRMSyncPointState { Hyprutils::OS::CFileDescriptor exportAsFD(); void signal(); + // operator bool() const { return m_timeline; } diff --git a/src/protocols/types/Buffer.hpp b/src/protocols/types/Buffer.hpp index 428132c5..55fcf2c5 100644 --- a/src/protocols/types/Buffer.hpp +++ b/src/protocols/types/Buffer.hpp @@ -56,6 +56,7 @@ class CHLBufferReference { bool operator==(const SP& other) const; bool operator==(const SP& other) const; SP operator->() const; + // operator bool() const; // unlock and drop the buffer without sending release