提交 b5fd035d 编写于 作者: J jai1 提交者: Andrews

Legacy code expects the AuthData to be initialized to Auth::Disabled (#348)

上级 e224df9e
......@@ -39,6 +39,12 @@
return ptr;
}
};
class Auth {
public:
static AuthDataPtr Disabled() {
return AuthDataPtr();
}
}
}
#endif
#pragma GCC visibility push(default)
......
......@@ -42,6 +42,7 @@ struct ClientConfiguration::Impl {
std::string tlsTrustCertsFilePath;
bool tlsAllowInsecureConnection;
Impl() : authenticationPtr(AuthFactory::Disabled()),
authDataPtr(Auth::Disabled()),
ioThreads(1),
operationTimeoutSeconds(30),
messageListenerThreads(1),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册