Skip to content

*: fix deprecated copy#2105

Merged
ti-srebot merged 4 commits intopingcap:masterfrom
SchrodingerZhu:fix-deprecated-copy
Jun 9, 2021
Merged

*: fix deprecated copy#2105
ti-srebot merged 4 commits intopingcap:masterfrom
SchrodingerZhu:fix-deprecated-copy

Conversation

@SchrodingerZhu
Copy link
Contributor

Signed-off-by: SchrodingerZhu i@zhuyi.fan

What problem does this PR solve?

Issue Number: #2064

Problem Summary:

implicit derivation of copy constructor is deprecated since target struct defined its own destructor.

What is changed and how it works?

What's Changed:

define default ctor explicitly

Check List

Tests

  • Unit test
  • Integration test

Release note

No release note

Signed-off-by: SchrodingerZhu <i@zhuyi.fan>
@SchrodingerZhu
Copy link
Contributor Author

/run-all-tests

@SchrodingerZhu SchrodingerZhu changed the title : fix deprecated copy *: fix deprecated copy Jun 7, 2021
@SchrodingerZhu
Copy link
Contributor Author

/cc @hanfei1991
/cc @fuzhe1989

@SchrodingerZhu
Copy link
Contributor Author

/run-all-tests

@fuzhe1989
Copy link
Contributor

LGTM

@ti-srebot

This comment has been minimized.

@fuzhe1989
Copy link
Contributor

@fuzhe1989, Thanks for your review. The bot only counts LGTMs from Reviewers and higher roles, but you're still welcome to leave your comments. See the corresponding SIG page for more information. Related SIG: tiflash(slack).

Hmmmm......

Copy link
Contributor

@JaySon-Huang JaySon-Huang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Jun 9, 2021
@JaySon-Huang
Copy link
Contributor

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Jun 9, 2021
@ti-srebot
Copy link
Collaborator

/run-all-tests

@ti-srebot ti-srebot merged commit 42bc825 into pingcap:master Jun 9, 2021
@SchrodingerZhu SchrodingerZhu deleted the fix-deprecated-copy branch June 15, 2021 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants