]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Make library compile with -DWITH_NANOFLANN=ON 4841/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 14 Aug 2017 19:17:05 +0000 (14:17 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 14 Aug 2017 19:17:05 +0000 (14:17 -0500)
We were missing a mandatory include in numerics/kdtree.h

include/deal.II/numerics/kdtree.h

index 9e9556375a77ef5d749bf21d5138d55e5dea09c0..7372f87ae34d4d7879823fcfb83ba1aea775dce7 100644 (file)
@@ -22,6 +22,8 @@
 
 #include <deal.II/base/point.h>
 
+#include <memory>
+
 DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #include <nanoflann.hpp>
 DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
@@ -245,7 +247,7 @@ unsigned int KDTree<dim>::size() const
     return adaptor->points.size();
   else
     return 0;
-};
+}
 
 
 

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.