From: Wolfgang Bangerth <bangerth@colostate.edu>
Date: Thu, 21 Jan 2021 01:54:47 +0000 (-0700)
Subject: Remove ReferenceCell operators that compare against numbers.
X-Git-Tag: v9.3.0-rc1~585^2~1
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e221506d8ba05c1c2c0d6591034a034430757e6;p=dealii.git

Remove ReferenceCell operators that compare against numbers.
---

diff --git a/include/deal.II/grid/reference_cell.h b/include/deal.II/grid/reference_cell.h
index 8d6eb83463..46f33a7ff4 100644
--- a/include/deal.II/grid/reference_cell.h
+++ b/include/deal.II/grid/reference_cell.h
@@ -148,18 +148,6 @@ namespace ReferenceCell
     bool
     operator!=(const Type &type) const;
 
-    /**
-     * Operator for equality comparison.
-     */
-    bool
-    operator==(const std::uint8_t &type) const;
-
-    /**
-     * Operator for inequality comparison.
-     */
-    bool
-    operator!=(const std::uint8_t &type) const;
-
     /**
      * Write and read the data of this object from a stream for the purpose
      * of serialization using the [BOOST serialization
@@ -219,22 +207,6 @@ namespace ReferenceCell
 
 
 
-  inline bool
-  Type::operator==(const std::uint8_t &type) const
-  {
-    return kind == type;
-  }
-
-
-
-  inline bool
-  Type::operator!=(const std::uint8_t &type) const
-  {
-    return kind != type;
-  }
-
-
-
   template <class Archive>
   inline void
   Type::serialize(Archive &archive, const unsigned int /*version*/)