diff options
| author | babenko <[email protected]> | 2026-01-02 14:18:16 +0300 |
|---|---|---|
| committer | babenko <[email protected]> | 2026-01-02 14:36:04 +0300 |
| commit | fb0af3c9f59fa0e43b0ada048421c23eae047682 (patch) | |
| tree | a91798652605799a4462f59a65d13f7d1cc47740 /library/cpp/yt/memory | |
| parent | 0399c7dbc09b2ae751be89886e857ba3f0972f8e (diff) | |
YT-27061: Make OKFuture constinit
commit_hash:3522ca2def9e06894323c3ac1b5e0e4e83572857
Diffstat (limited to 'library/cpp/yt/memory')
| -rw-r--r-- | library/cpp/yt/memory/intrusive_ptr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/yt/memory/intrusive_ptr.h b/library/cpp/yt/memory/intrusive_ptr.h index 35a6463a019..cb0cf327606 100644 --- a/library/cpp/yt/memory/intrusive_ptr.h +++ b/library/cpp/yt/memory/intrusive_ptr.h @@ -35,7 +35,7 @@ public: * Note that it notoriously hard to make this constructor explicit * given the current amount of code written. */ - TIntrusivePtr(T* obj, bool addReference = true) noexcept + constexpr TIntrusivePtr(T* obj, bool addReference = true) noexcept : T_(obj) { if (T_ && addReference) { |
