fix: modernize-use-nodiscard clang-tidy warnings (32-x-y backport) (#44846)
fix: modernize-use-nodiscard clang-tidy warnings (#44808)
This commit is contained in:
parent
d1639ccb79
commit
10e0ce0692
8 changed files with 14 additions and 13 deletions
|
@ -57,7 +57,7 @@ class SpellCheckClient::SpellcheckRequest {
|
|||
SpellcheckRequest& operator=(const SpellcheckRequest&) = delete;
|
||||
~SpellcheckRequest() = default;
|
||||
|
||||
const std::u16string& text() const { return text_; }
|
||||
[[nodiscard]] const std::u16string& text() const { return text_; }
|
||||
blink::WebTextCheckingCompletion* completion() { return completion_.get(); }
|
||||
std::vector<Word>& wordlist() { return word_list_; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue