mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
15 lines
314 B
C++
15 lines
314 B
C++
#include "DNSPTRResolverProvider.h"
|
|
#include "CaresPTRResolver.h"
|
|
|
|
namespace DB
|
|
{
|
|
std::shared_ptr<DNSPTRResolver> DNSPTRResolverProvider::get()
|
|
{
|
|
static auto resolver = std::make_shared<CaresPTRResolver>(
|
|
CaresPTRResolver::provider_token {}
|
|
);
|
|
|
|
return resolver;
|
|
}
|
|
}
|