summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/memory
diff options
context:
space:
mode:
authorbabenko <[email protected]>2026-01-02 14:18:16 +0300
committerbabenko <[email protected]>2026-01-02 14:36:04 +0300
commitfb0af3c9f59fa0e43b0ada048421c23eae047682 (patch)
treea91798652605799a4462f59a65d13f7d1cc47740 /library/cpp/yt/memory
parent0399c7dbc09b2ae751be89886e857ba3f0972f8e (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.h2
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) {