do not catch polymorphic type by value
This silences warnings from GCC 8 of the form:
warning: catching polymorphic type ‘class ...’ by value [-Wcatch-value=]
This silences warnings from GCC 8 of the form:
warning: catching polymorphic type ‘class ...’ by value [-Wcatch-value=]