fix: modernize-use-nodiscard clang-tidy warnings (#44808)
This commit is contained in:
parent
7e7010dacf
commit
024fee4e44
9 changed files with 14 additions and 14 deletions
|
@ -86,7 +86,7 @@ class ElectronPermissionManager::PendingRequest {
|
|||
return content::RenderFrameHost::FromID(render_frame_host_id_);
|
||||
}
|
||||
|
||||
bool IsComplete() const { return remaining_results_ == 0; }
|
||||
[[nodiscard]] bool IsComplete() const { return remaining_results_ == 0; }
|
||||
|
||||
void RunCallback() {
|
||||
if (!callback_.is_null()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue