diff options
Diffstat (limited to 'library/cpp/dns/cache.cpp')
-rw-r--r-- | library/cpp/dns/cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/dns/cache.cpp b/library/cpp/dns/cache.cpp index 6c1f55e4f8..05c14e82fc 100644 --- a/library/cpp/dns/cache.cpp +++ b/library/cpp/dns/cache.cpp @@ -123,7 +123,7 @@ namespace { na = ThreadedResolve(host, rt.Info.Port); } else { Y_ASSERT(0); - throw yexception() << TStringBuf("invalid resolve method"); + throw yexception() << TStringBuf("invalid resolve method"); } return new TResolvedHost(originalHost, *na); @@ -174,7 +174,7 @@ namespace { } }; - inline IDns* ThrDns() { + inline IDns* ThrDns() { return FastTlsSingleton<TThreadedDns>(); } } |