fix: modernize-use-nodiscard clang-tidy warnings (#44808)

This commit is contained in:
Charles Kerr 2024-11-25 09:48:28 -06:00 committed by GitHub
parent 7e7010dacf
commit 024fee4e44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 14 additions and 14 deletions

View file

@ -18,7 +18,7 @@ class HeapSnapshotOutputStream : public v8::OutputStream {
DCHECK(file_);
}
bool IsComplete() const { return is_complete_; }
[[nodiscard]] bool IsComplete() const { return is_complete_; }
// v8::OutputStream
int GetChunkSize() override { return 65536; }