Skip to content

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

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

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

Conversation

@spineight
Copy link
Contributor

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

@spineight
Copy link
Contributor Author

closes #15

@spineight spineight requested a review from nlohmann April 13, 2022 09:06
Copy link
Owner

@nlohmann nlohmann left a comment

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
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