]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Addressed Daniel's comments 6950/head
authorLuca Heltai <luca.heltai@sissa.it>
Tue, 24 Jul 2018 09:08:07 +0000 (11:08 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Tue, 24 Jul 2018 09:08:07 +0000 (11:08 +0200)
include/deal.II/boost_adaptors/point.h

index 376a55242f18e0eda0a3e0fa1a8b0cc7bad26592..224974d64c01c5a3ad74bf02c3e06c17a1657379 100644 (file)
@@ -33,7 +33,7 @@ namespace boost
       template <int dim, class Number>
       struct tag<dealii::Point<dim, Number>>
       {
-        typedef point_tag type;
+        using type = point_tag;
       };
 
       /**
@@ -42,7 +42,7 @@ namespace boost
       template <int dim, class Number>
       struct coordinate_type<dealii::Point<dim, Number>>
       {
-        typedef Number type;
+        using type = Number;
       };
 
       /**
@@ -52,7 +52,7 @@ namespace boost
       template <int dim, class Number>
       struct coordinate_system<dealii::Point<dim, Number>>
       {
-        typedef cs::cartesian type;
+        using type = cs::cartesian;
       };
 
       /**

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.