diff options
Diffstat (limited to 'libxerces-c/xercesc/inline-funcs-def-usage-order.patch')
-rw-r--r-- | libxerces-c/xercesc/inline-funcs-def-usage-order.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/libxerces-c/xercesc/inline-funcs-def-usage-order.patch b/libxerces-c/xercesc/inline-funcs-def-usage-order.patch deleted file mode 100644 index 1c7fc0c..0000000 --- a/libxerces-c/xercesc/inline-funcs-def-usage-order.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/libxerces-c/xercesc/util/KVStringPair.hpp b/libxerces-c/xercesc/util/KVStringPair.hpp -index aeb787a..87e2947 100644 ---- a/libxerces-c/xercesc/util/KVStringPair.hpp -+++ b/libxerces-c/xercesc/util/KVStringPair.hpp -@@ -163,16 +163,6 @@ inline XMLCh* KVStringPair::getValue() - // --------------------------------------------------------------------------- - // KVStringPair: Setters - // --------------------------------------------------------------------------- --inline void KVStringPair::setKey(const XMLCh* const newKey) --{ -- setKey(newKey, XMLString::stringLen(newKey)); --} -- --inline void KVStringPair::setValue(const XMLCh* const newValue) --{ -- setValue(newValue, XMLString::stringLen(newValue)); --} -- - inline void KVStringPair::setKey( const XMLCh* const newKey - , const XMLSize_t newKeyLength) - { -@@ -201,6 +191,16 @@ inline void KVStringPair::setValue( const XMLCh* const newValue - memcpy(fValue, newValue, (newValueLength+1) * sizeof(XMLCh)); // len+1 because of the 0 at the end - } - -+inline void KVStringPair::setKey(const XMLCh* const newKey) -+{ -+ setKey(newKey, XMLString::stringLen(newKey)); -+} -+ -+inline void KVStringPair::setValue(const XMLCh* const newValue) -+{ -+ setValue(newValue, XMLString::stringLen(newValue)); -+} -+ - inline void KVStringPair::set( const XMLCh* const newKey - , const XMLCh* const newValue) - { |