]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change the default value of a parameter from 0 to nullptr. 5842/head
authorJean-Paul Pelteret <jppelteret@gmail.com>
Fri, 2 Feb 2018 06:15:25 +0000 (07:15 +0100)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Fri, 2 Feb 2018 06:15:25 +0000 (07:15 +0100)
include/deal.II/base/numbers.h

index 057baf07ea22d4ab37d55182db68e261da203c3b..ba588d60023250a7fdd777cf80eb252f13f1a596 100644 (file)
@@ -483,7 +483,7 @@ namespace internal
            !std::is_same<typename std::decay<T>::type,typename std::decay<F>::type>::value &&
            !std::is_constructible<T,F>::value &&
            is_explicitly_convertible<const F,T>::value
-           >::type * = 0)
+           >::type * = nullptr)
     {
       return static_cast<T>(f);
     }

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.