mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: modernize-use-nodiscard clang-tidy warnings (#44808)
This commit is contained in:
@@ -58,7 +58,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_; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user