hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #06789
[Bug 1702119] [NEW] selector.cc: 2 * bad catch type ?
Public bug reported:
selector.cc:490:21: warning: catching polymorphic type 'class
std::invalid_argument' by value [-Wcatch-value=]
selector.cc:494:21: warning: catching polymorphic type 'class
std::out_of_range' by value [-Wcatch-value=]
Suggest catch polymorphic types by const reference, not value.
** Affects: enblend
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/1702119
Title:
selector.cc: 2 * bad catch type ?
Status in Enblend:
New
Bug description:
selector.cc:490:21: warning: catching polymorphic type 'class
std::invalid_argument' by value [-Wcatch-value=]
selector.cc:494:21: warning: catching polymorphic type 'class
std::out_of_range' by value [-Wcatch-value=]
Suggest catch polymorphic types by const reference, not value.
To manage notifications about this bug go to:
https://bugs.launchpad.net/enblend/+bug/1702119/+subscriptions
Follow ups