]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix duplicate symbols for EmptyPayload 3879/head
authorDenis Davydov <davydden@gmail.com>
Tue, 31 Jan 2017 13:40:27 +0000 (14:40 +0100)
committerDenis Davydov <davydden@gmail.com>
Tue, 31 Jan 2017 13:40:27 +0000 (14:40 +0100)
include/deal.II/lac/linear_operator.h

index 0fbfec3161bc65d68d72d6e464d9919434c74e01..86f45d6ee53332287d6034dda8e50ffa7d0b2c2e 100644 (file)
@@ -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 &)
     {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.