From 6e221506d8ba05c1c2c0d6591034a034430757e6 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 20 Jan 2021 18:54:47 -0700 Subject: [PATCH] Remove ReferenceCell operators that compare against numbers. --- include/deal.II/grid/reference_cell.h | 28 --------------------------- 1 file changed, 28 deletions(-) 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 inline void Type::serialize(Archive &archive, const unsigned int /*version*/) -- 2.39.5