From ca1e3b1540771e43dd754bc47b9ad571e821f810 Mon Sep 17 00:00:00 2001 From: Kp Date: Sun, 13 Nov 2022 21:17:23 +0000 Subject: [PATCH] Remove unnecessary definition of exact_type::operator!= --- common/include/pack.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/include/pack.h b/common/include/pack.h index 5959a4a3a..b2f2eb28a 100644 --- a/common/include/pack.h +++ b/common/include/pack.h @@ -1,7 +1,6 @@ #pragma once #include -#include "dxxsconf.h" template class exact_type @@ -22,8 +21,6 @@ public: bool operator>(U &&) const = delete; template bool operator>=(U &&) const = delete; - template - bool operator!=(U &&rhs) const { return !operator==(static_cast(rhs)); } constexpr exact_type(T *t) : p(t) {} // Conversion to the exact type is permitted constexpr operator const T *() const { return p; }