Skip to content

Commit fe03be7

Browse files
author
babenko
committed
Fix CheckSingletonConfigRegistered
commit_hash:44257527f4aa1a011cdb79de7d29d04c83bbfcb7
1 parent e3a4855 commit fe03be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yt/yt/core/misc/configurable_singleton_def-inl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ template <bool Static>
1818
template <class TConfig>
1919
TIntrusivePtr<TConfig> TSingletonsConfigBase<Static>::TryGetSingletonConfig()
2020
{
21-
CheckSingletonConfigRegistered(TSingletonConfigTag<TConfig, true>());
21+
CheckSingletonConfigRegistered(TSingletonConfigTag<TConfig, Static>());
2222
return std::any_cast<TIntrusivePtr<TConfig>>(*GetOrCrash(TypeToConfig_, typeid(TConfig)));
2323
}
2424

0 commit comments

Comments
 (0)