dbertoni 2003/02/20 17:00:50
Modified: c/src/ICUBridge ICUBridgeCollationCompareFunctorImpl.hpp
Log:
Added operators for brain-dead compilers.
Revision Changes Path
1.8 +14 -0
xml-xalan/c/src/ICUBridge/ICUBridgeCollationCompareFunctorImpl.hpp
Index: ICUBridgeCollationCompareFunctorImpl.hpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/ICUBridge/ICUBridgeCollationCompareFunctorImpl.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ICUBridgeCollationCompareFunctorImpl.hpp 6 Feb 2003 22:31:52 -0000 1.7
+++ ICUBridgeCollationCompareFunctorImpl.hpp 21 Feb 2003 01:00:50 -0000 1.8
@@ -150,6 +150,20 @@
theOther.m_collator = theTemp;
}
+#if defined(XALAN_NO_SELECTIVE_TEMPLATE_INSTANTIATION)
+ bool
+ operator<(const CollationCacheStruct& theRHS) const
+ {
+ return this < &theRHS;
+ }
+
+ bool
+ operator==(const CollationCacheStruct& theRHS) const
+ {
+ return this == &theRHS;
+ }
+#endif
+
XalanDOMString m_locale;
CollatorType* m_collator;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]