← Back to team overview

hugin-devs team mailing list archive

[Bug 1702119] Re: selector.cc: 2 * bad catch type ?

 

Fixed in rev 1c815a028afc.


** Changed in: enblend
       Status: New => Fix Committed

** Changed in: enblend
   Importance: Undecided => Low

** Changed in: enblend
     Assignee: (unassigned) => Christoph Spiel (cspiel)

-- 
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:
  Fix Committed

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


References