This is an automated email from the ASF dual-hosted git repository. borisk pushed a commit to branch xerces-3.2 in repository https://gitbox.apache.org/repos/asf/xerces-c.git
commit 0fea598e44d2d31b01b89b1cb387598ed3e18a22 Author: Boris Kolpackov <bo...@codesynthesis.com> AuthorDate: Wed Dec 13 08:33:13 2023 +0200 Reorder inline function definitions to help with MinGW GCC symbol exporting --- src/xercesc/util/KVStringPair.hpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/xercesc/util/KVStringPair.hpp b/src/xercesc/util/KVStringPair.hpp index aeb787ae1..87e2947ec 100644 --- a/src/xercesc/util/KVStringPair.hpp +++ b/src/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) { --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org