From 45d592deb685e106e20933502bbecda04ab73d75 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 1 Jan 2026 19:03:47 +0900 Subject: Remove usage 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 --- examples/chart/element.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'examples/chart') diff --git a/examples/chart/element.h b/examples/chart/element.h index 4241a7fee..88a278aa0 100644 --- a/examples/chart/element.h +++ b/examples/chart/element.h @@ -57,14 +57,6 @@ public: void setProX( int index, double value ); void setProY( int index, double value ); -#ifdef TQ_FULL_TEMPLATE_INSTANTIATION - // xlC 3.x workaround - TQ_DUMMY_COMPARISON_OPERATOR(Element) - bool operator!=( const Element& e) const { - return ( !(e == *this) ); - } -#endif - private: void init( double value, TQColor valueColor, int valuePattern, const TQString& label, TQColor labelColor ); -- cgit v1.2.3