Skip to content

Teuchos: fix GCC 8.0 warning

James Willenbring requested to merge gcc8-fix into develop

Created by: ibaned

@trilinos/teuchos

Description

Changed an exception type in catch to be a reference. GCC 8.0 warns about not catching polymorphic exception classes by reference, even if they go unused.

Motivation and Context

Allows the Teuchos sub-packages I use to build without warnings under GCC 8.0 (with no non-default warning flags specified).

Merge request reports