diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-31 11:50:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-31 11:50:33 +0900 |
| commit | a6243818ff68187f789c2e8ce449c78fcadfbbe7 (patch) | |
| tree | 07dc25beb40ff2a2c906d3c0ab37b785c29a619d /examples/chart/element.h | |
| parent | c7a23a1e570b12c633b0e47c661935c36c038711 (diff) | |
| download | tqt-remove/full-template-instantionation.tar.gz tqt-remove/full-template-instantionation.zip | |
Remove use of TQ_FULL_TEMPLATE_INSTANTIATION and TQ_DUMMY_COMPARISON_OPERATOR.remove/full-template-instantionation
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>
Diffstat (limited to 'examples/chart/element.h')
| -rw-r--r-- | examples/chart/element.h | 8 |
1 files changed, 0 insertions, 8 deletions
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 ); |
