Skip to content

Commit 527cae2

Browse files
committed
cares_wrap: remove superfluous 'this' keyword
1 parent 7503e4c commit 527cae2

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/cares_wrap.cc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ class QueryAWrap: public QueryWrap {
394394

395395
int status = ares_parse_a_reply(buf, len, &host, NULL, NULL);
396396
if (status != ARES_SUCCESS) {
397-
this->ParseError(status);
397+
ParseError(status);
398398
return;
399399
}
400400

@@ -430,7 +430,7 @@ class QueryAaaaWrap: public QueryWrap {
430430

431431
int status = ares_parse_aaaa_reply(buf, len, &host, NULL, NULL);
432432
if (status != ARES_SUCCESS) {
433-
this->ParseError(status);
433+
ParseError(status);
434434
return;
435435
}
436436

@@ -466,7 +466,7 @@ class QueryCnameWrap: public QueryWrap {
466466

467467
int status = ares_parse_a_reply(buf, len, &host, NULL, NULL);
468468
if (status != ARES_SUCCESS) {
469-
this->ParseError(status);
469+
ParseError(status);
470470
return;
471471
}
472472

@@ -504,7 +504,7 @@ class QueryMxWrap: public QueryWrap {
504504
struct ares_mx_reply* mx_start;
505505
int status = ares_parse_mx_reply(buf, len, &mx_start);
506506
if (status != ARES_SUCCESS) {
507-
this->ParseError(status);
507+
ParseError(status);
508508
return;
509509
}
510510

@@ -553,7 +553,7 @@ class QueryNsWrap: public QueryWrap {
553553

554554
int status = ares_parse_ns_reply(buf, len, &host);
555555
if (status != ARES_SUCCESS) {
556-
this->ParseError(status);
556+
ParseError(status);
557557
return;
558558
}
559559

@@ -587,7 +587,7 @@ class QueryTxtWrap: public QueryWrap {
587587

588588
int status = ares_parse_txt_reply(buf, len, &txt_out);
589589
if (status != ARES_SUCCESS) {
590-
this->ParseError(status);
590+
ParseError(status);
591591
return;
592592
}
593593

@@ -629,7 +629,7 @@ class QuerySrvWrap: public QueryWrap {
629629
struct ares_srv_reply* srv_start;
630630
int status = ares_parse_srv_reply(buf, len, &srv_start);
631631
if (status != ARES_SUCCESS) {
632-
this->ParseError(status);
632+
ParseError(status);
633633
return;
634634
}
635635

@@ -687,7 +687,7 @@ class QueryNaptrWrap: public QueryWrap {
687687
int status = ares_parse_naptr_reply(buf, len, &naptr_start);
688688

689689
if (status != ARES_SUCCESS) {
690-
this->ParseError(status);
690+
ParseError(status);
691691
return;
692692
}
693693

0 commit comments

Comments
 (0)