From: Wolfgang Bangerth Date: Tue, 1 Sep 2020 00:35:32 +0000 (-0600) Subject: Minor fixes. X-Git-Tag: v9.3.0-rc1~1155^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ff94378f5f2a9b116611f393f5e48749efbdb77;p=dealii.git Minor fixes. --- diff --git a/include/deal.II/grid/tria_objects.h b/include/deal.II/grid/tria_objects.h index af9bacb7f0..1baef00122 100644 --- a/include/deal.II/grid/tria_objects.h +++ b/include/deal.II/grid/tria_objects.h @@ -60,7 +60,7 @@ namespace internal /** * Constructor for a specific dimension. */ - TriaObjects(unsigned int structdim); + TriaObjects(const unsigned int structdim); unsigned int structdim; @@ -490,7 +490,7 @@ namespace internal inline TriaObjects::TriaObjects() - : structdim(static_cast(-1)) + : structdim(numbers::invalid_unsigned_int) , next_free_single(numbers::invalid_unsigned_int) , next_free_pair(numbers::invalid_unsigned_int) , reverse_order_next_free_single(false)