mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
Add 'this->' and fix typo.
This commit is contained in:
@@ -34,7 +34,7 @@ public:
|
||||
* address resovled will be used. Don't use upstream name as a host. */
|
||||
int init(const std::string& url)
|
||||
{
|
||||
return init(url, NULL);
|
||||
return this->init(url, NULL);
|
||||
}
|
||||
|
||||
int init(const std::string& url, SSL_CTX *ssl_ctx);
|
||||
@@ -79,7 +79,7 @@ protected:
|
||||
int id;
|
||||
|
||||
public:
|
||||
/* Make sure that cocurrent connections have different id.
|
||||
/* Make sure that concurrent connections have different id.
|
||||
* When a connection object is deleted, id can be reused. */
|
||||
WFMySQLConnection(int id) { this->id = id; }
|
||||
virtual ~WFMySQLConnection() { }
|
||||
|
||||
Reference in New Issue
Block a user