fix: modernize-use-nodiscard clang-tidy warnings (#44833)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
5a0e1ccf73
commit
c0d1c3481a
9 changed files with 14 additions and 14 deletions
|
@ -54,7 +54,7 @@ struct OffscreenReleaseHolderMonitor {
|
|||
holder_ = nullptr;
|
||||
}
|
||||
|
||||
bool IsTextureReleased() const { return holder_ == nullptr; }
|
||||
[[nodiscard]] bool IsTextureReleased() const { return holder_ == nullptr; }
|
||||
|
||||
v8::Persistent<v8::Value>* CreatePersistent(v8::Isolate* isolate,
|
||||
v8::Local<v8::Value> value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue