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 /src/xml | |
| 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 'src/xml')
| -rw-r--r-- | src/xml/tqsvgdevice.cpp | 3 | ||||
| -rw-r--r-- | src/xml/tqxml.cpp | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/xml/tqsvgdevice.cpp b/src/xml/tqsvgdevice.cpp index 51c48179c..3aec30c7a 100644 --- a/src/xml/tqsvgdevice.cpp +++ b/src/xml/tqsvgdevice.cpp @@ -60,19 +60,16 @@ const char systemId[] = "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001 struct TQM_EXPORT_SVG ImgElement { TQDomElement element; TQImage image; - TQ_DUMMY_COMPARISON_OPERATOR( ImgElement ) }; struct TQM_EXPORT_SVG PixElement { TQDomElement element; TQPixmap pixmap; - TQ_DUMMY_COMPARISON_OPERATOR( PixElement ) }; struct TQSvgDeviceState { int textx, texty; // current text position int textalign; // text alignment - TQ_DUMMY_COMPARISON_OPERATOR( TQSvgDeviceState ) }; typedef TQValueList<ImgElement> ImageList; diff --git a/src/xml/tqxml.cpp b/src/xml/tqxml.cpp index 591890976..eab061cb0 100644 --- a/src/xml/tqxml.cpp +++ b/src/xml/tqxml.cpp @@ -2248,8 +2248,6 @@ private: : publicId(p), systemId(s) {} TQString publicId; TQString systemId; - - TQ_DUMMY_COMPARISON_OPERATOR(ExternParameterEntity) }; struct ExternEntity { @@ -2259,7 +2257,6 @@ private: TQString publicId; TQString systemId; TQString notation; - TQ_DUMMY_COMPARISON_OPERATOR(ExternEntity) }; TQMap<TQString,ExternParameterEntity> externParameterEntities; TQMap<TQString,TQString> parameterEntities; |
