Skip to content

*: fix catching polymorphic type ‘class std::out_of_range’ by value#2095

Merged
ti-srebot merged 2 commits intopingcap:masterfrom
SchrodingerZhu:fix-catch-value
Jun 7, 2021
Merged

*: fix catching polymorphic type ‘class std::out_of_range’ by value#2095
ti-srebot merged 2 commits intopingcap:masterfrom
SchrodingerZhu:fix-catch-value

Conversation

@SchrodingerZhu
Copy link
Contributor

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

What problem does this PR solve?

Issue Number: address the first problem in #2064

What is changed and how it works?

What's Changed:

catch by const reference.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)

Release note

No release note

@SchrodingerZhu
Copy link
Contributor Author

/run-all-tests

@SchrodingerZhu SchrodingerZhu changed the title : fix catching polymorphic type ‘class std::out_of_range’ by value *: fix catching polymorphic type ‘class std::out_of_range’ by value Jun 7, 2021
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 7, 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 7, 2021
@ti-srebot
Copy link
Collaborator

/run-all-tests

@ti-srebot ti-srebot merged commit 993456e into pingcap:master Jun 7, 2021
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.

3 participants