MCPcopy Create free account
hub / github.com/TankOs/SFGUI / operator==

Method operator==

src/SFGUI/Selector.cpp:178–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178bool Selector::operator==( const Selector& other ) const {
179 // Check if valid selectors.
180 if( !m_hash || !other.m_hash ) {
181 return false;
182 }
183
184 return m_hash == other.m_hash;
185}
186
187bool Selector::Matches( Widget::PtrConst widget ) const {
188 if( !widget ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected