We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3a4855 commit fe03be7Copy full SHA for fe03be7
yt/yt/core/misc/configurable_singleton_def-inl.h
@@ -18,7 +18,7 @@ template <bool Static>
18
template <class TConfig>
19
TIntrusivePtr<TConfig> TSingletonsConfigBase<Static>::TryGetSingletonConfig()
20
{
21
- CheckSingletonConfigRegistered(TSingletonConfigTag<TConfig, true>());
+ CheckSingletonConfigRegistered(TSingletonConfigTag<TConfig, Static>());
22
return std::any_cast<TIntrusivePtr<TConfig>>(*GetOrCrash(TypeToConfig_, typeid(TConfig)));
23
}
24
0 commit comments