diff options
| author | babenko <[email protected]> | 2026-04-27 15:52:34 +0300 |
|---|---|---|
| committer | babenko <[email protected]> | 2026-04-27 16:12:31 +0300 |
| commit | b36733c26de293fbc1562234f05ce2b41f7251a2 (patch) | |
| tree | 1886d2d1ed7c6ef96ab621099fc5691d69b11dfe /library/cpp/yt/error/origin_attributes.cpp | |
| parent | 53762a5d5d815a553f9a3a83ecdd94951e429c18 (diff) | |
Use implicit bool conversion for null check in origin_attributes.cpp
commit_hash:cc1f5b9ecc05f6b098f1645ba338fc644c0bb53f
Diffstat (limited to 'library/cpp/yt/error/origin_attributes.cpp')
| -rw-r--r-- | library/cpp/yt/error/origin_attributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/yt/error/origin_attributes.cpp b/library/cpp/yt/error/origin_attributes.cpp index e538670c73f..18582bf3e83 100644 --- a/library/cpp/yt/error/origin_attributes.cpp +++ b/library/cpp/yt/error/origin_attributes.cpp @@ -135,7 +135,7 @@ TOriginAttributes ExtractFromDictionary(TErrorAttributes* attributes) TOriginAttributes ExtractFromDictionaryDefault(TErrorAttributes* attributes) { TOriginAttributes result; - if (attributes == nullptr) { + if (!attributes) { return result; } |
