Skip to content

Fixed warning: error: catching polymorphic type ‘class std::out_of_ra…#14

Merged
nlohmann merged 2 commits into
nlohmann:masterfrom
spineight:fixCatchByValueWarning
Apr 14, 2022
Merged

Fixed warning: error: catching polymorphic type ‘class std::out_of_ra…#14
nlohmann merged 2 commits into
nlohmann:masterfrom
spineight:fixCatchByValueWarning

Conversation

@spineight

Copy link
Copy Markdown
Contributor
  1. Fixed warning of catching exception by value
  2. Extended compiler flags in cmake to warn about possible inefficencies

@spineight

Copy link
Copy Markdown
Contributor Author

closes #15

Comment thread CMakeLists.txt Outdated
Comment thread test/thirdparty/catch/catch.hpp Outdated
@spineight spineight requested a review from nlohmann April 13, 2022 09:06

@nlohmann nlohmann left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Looks good to me.

@nlohmann nlohmann merged commit d732aaf into nlohmann:master Apr 14, 2022
@nlohmann

Copy link
Copy Markdown
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants