chore: prefer empty() check for readability (#26109)
This commit is contained in:
parent
d9db9873fd
commit
554ad93d45
11 changed files with 15 additions and 15 deletions
|
@ -384,7 +384,7 @@ void NativeWindowViews::SetForwardMouseMessages(bool forward) {
|
|||
|
||||
RemoveWindowSubclass(legacy_window_, SubclassProc, 1);
|
||||
|
||||
if (forwarding_windows_.size() == 0) {
|
||||
if (forwarding_windows_.empty()) {
|
||||
UnhookWindowsHookEx(mouse_hook_);
|
||||
mouse_hook_ = NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue