From 9ff94378f5f2a9b116611f393f5e48749efbdb77 Mon Sep 17 00:00:00 2001
From: Wolfgang Bangerth <bangerth@colostate.edu>
Date: Mon, 31 Aug 2020 18:35:32 -0600
Subject: [PATCH] Minor fixes.

---
 include/deal.II/grid/tria_objects.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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<unsigned int>(-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)
-- 
2.39.5