refactor: use std::ranges whenever possible (#10584)
This commit is contained in:
parent
9bf1b49144
commit
9190443d95
50 changed files with 137 additions and 146 deletions
|
|
@ -653,7 +653,7 @@ void CSeatManager::resendEnterEvents() {
|
|||
}
|
||||
|
||||
bool CSeatGrab::accepts(SP<CWLSurfaceResource> surf) {
|
||||
return std::find(m_surfs.begin(), m_surfs.end(), surf) != m_surfs.end();
|
||||
return std::ranges::find(m_surfs, surf) != m_surfs.end();
|
||||
}
|
||||
|
||||
void CSeatGrab::add(SP<CWLSurfaceResource> surf) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue