From dc5a8d3ec582fcc426ccc78033c7a6c454fdfdbd Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Wed, 31 Dec 2025 10:35:41 +0900
Subject: Remove use of TQ_FULL_TEMPLATE_INSTANTIATION and
 TQ_DUMMY_COMPARISON_OPERATOR. The #defines were used for some very old
 compilers which had issues with template instantiation. We are now using
 c++17 compilers, so this is unnecessary.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 puic/uic.h | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/puic/uic.h b/puic/uic.h
index 1b50089..c47140b 100644
--- a/puic/uic.h
+++ b/puic/uic.h
@@ -29,19 +29,6 @@
 #include <tqpalette.h>
 #include <tqvariant.h>
 
-#ifndef TQ_DUMMY_COMPARISON_OPERATOR
-# warning "Defining TQ_DUMMY_COMPARISON_OPERATOR"
-# ifdef TQ_FULL_TEMPLATE_INSTANTIATION
-#  define TQ_DUMMY_COMPARISON_OPERATOR(C) \
-    bool operator==( const C& ) const { \
-        tqWarning( #C"::operator==( const "#C"& ) got called." ); \
-        return false; \
-    }
-# else
-#  define TQ_DUMMY_COMPARISON_OPERATOR(C)
-# endif
-#endif
-
 class PyIndent
 {
 public:
@@ -148,7 +135,6 @@ private:
     {
 	TQString header;
 	TQString location;
-	TQ_DUMMY_COMPARISON_OPERATOR(CustomInclude)
     };
     TQValueList<Buddy> buddies;
 
-- 
cgit v1.2.3

