selector.cc: 2 * bad catch type ?
Bug #1702119 reported by
dcb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Enblend |
Fix Committed
|
Low
|
Christoph Spiel |
Bug Description
selector.cc:490:21: warning: catching polymorphic type 'class std::invalid_
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 post a comment you must log in.
Fixed in rev 1c815a028afc.