Remove the relative comparison operators on LogLevel
[folly.git] / folly / experimental / logging / LogLevel.h
index c5f1920321c68a05f363390f3573e875e0f67dc8..05c1603efcc72955134d0de177dd61d1161651e5 100644 (file)
@@ -98,22 +98,6 @@ inline LogLevel& operator-=(LogLevel& level, uint32_t value) {
   return level;
 }
 
-/*
- * Comparisons between LogLevel values
- */
-inline bool operator<=(LogLevel a, LogLevel b) {
-  return static_cast<uint32_t>(a) <= static_cast<uint32_t>(b);
-}
-inline bool operator<(LogLevel a, LogLevel b) {
-  return static_cast<uint32_t>(a) < static_cast<uint32_t>(b);
-}
-inline bool operator>=(LogLevel a, LogLevel b) {
-  return static_cast<uint32_t>(a) >= static_cast<uint32_t>(b);
-}
-inline bool operator>(LogLevel a, LogLevel b) {
-  return static_cast<uint32_t>(a) > static_cast<uint32_t>(b);
-}
-
 /**
  * Construct a LogLevel from a string name.
  */