blob: 1c7fc0c1f1dda6daf3f25a5bfce305fd51daa276 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
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)
{
|