summaryrefslogtreecommitdiffstats
path: root/src/xml
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-31 11:50:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-31 11:50:33 +0900
commita6243818ff68187f789c2e8ce449c78fcadfbbe7 (patch)
tree07dc25beb40ff2a2c906d3c0ab37b785c29a619d /src/xml
parentc7a23a1e570b12c633b0e47c661935c36c038711 (diff)
downloadtqt-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.cpp3
-rw-r--r--src/xml/tqxml.cpp3
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;