From: Denis Davydov Date: Tue, 31 Jan 2017 13:40:27 +0000 (+0100) Subject: fix duplicate symbols for EmptyPayload X-Git-Tag: v8.5.0-rc1~176^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbc4e164a673ab6b06c5e19be7f8a8f632b58d32;p=dealii.git fix duplicate symbols for EmptyPayload --- diff --git a/include/deal.II/lac/linear_operator.h b/include/deal.II/lac/linear_operator.h index 0fbfec3161..86f45d6ee5 100644 --- a/include/deal.II/lac/linear_operator.h +++ b/include/deal.II/lac/linear_operator.h @@ -935,6 +935,7 @@ namespace internal * Operator that returns a payload configured to support the * addition of two LinearOperators */ + inline EmptyPayload operator+(const EmptyPayload &, const EmptyPayload &) { @@ -945,6 +946,7 @@ namespace internal * Operator that returns a payload configured to support the * multiplication of two LinearOperators */ + inline EmptyPayload operator*(const EmptyPayload &, const EmptyPayload &) {