]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Attempt to fix non-C++11 code path 1521/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 3 Sep 2015 13:49:31 +0000 (15:49 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 3 Sep 2015 13:49:31 +0000 (15:49 +0200)
include/deal.II/matrix_free/matrix_free.h

index 68508b8db11ab9edd5185b70ed5b8aa390c936c6..b66c121a63953663fc94e616713f7a9072f6a55a 100644 (file)
@@ -2493,7 +2493,7 @@ MatrixFree<dim,Number>::cell_loop
                             const std::pair<unsigned int,
                             unsigned int> &)>
   function = std_cxx11::bind<void>(function_pointer,
-                                   std_cxx11::cref(*owning_class),
+                                   owning_class,
                                    std_cxx11::_1,
                                    std_cxx11::_2,
                                    std_cxx11::_3,
@@ -2525,7 +2525,7 @@ MatrixFree<dim,Number>::cell_loop
                             const std::pair<unsigned int,
                             unsigned int> &)>
   function = std_cxx11::bind<void>(function_pointer,
-                                   std_cxx11::ref(*owning_class),
+                                   owning_class,
                                    std_cxx11::_1,
                                    std_cxx11::_2,
                                    std_cxx11::_3,

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.