diff options
author | Armin Weatherwax | 2011-06-16 14:31:08 +0200 |
---|---|---|
committer | Armin Weatherwax | 2011-11-13 14:28:27 +0100 |
commit | f8864a146bd0e7a871f5ce27f92683df66729dab (patch) | |
tree | 3fc77b1c3d5ffe9b5bac2bf3ecb1f013a8f54c22 /linden/indra/llxml/llxmlnode.h | |
parent | fix pass LLSD& instead LLSD to selectByValue (diff) | |
download | meta-impy-f8864a146bd0e7a871f5ce27f92683df66729dab.zip meta-impy-f8864a146bd0e7a871f5ce27f92683df66729dab.tar.gz meta-impy-f8864a146bd0e7a871f5ce27f92683df66729dab.tar.bz2 meta-impy-f8864a146bd0e7a871f5ce27f92683df66729dab.tar.xz |
2 fixes in llxmlnode: pass LLUUID& instead of LLUUID to setUUIDValue; remove superfluous NULL pointer check
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llxml/llxmlnode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llxml/llxmlnode.h b/linden/indra/llxml/llxmlnode.h index ab1a772..d71a221 100644 --- a/linden/indra/llxml/llxmlnode.h +++ b/linden/indra/llxml/llxmlnode.h | |||
@@ -245,7 +245,7 @@ public: | |||
245 | void setFloatValue(const F32 value, Encoding encoding = ENCODING_DEFAULT, U32 precision = 0) { setFloatValue(1, &value, encoding); } | 245 | void setFloatValue(const F32 value, Encoding encoding = ENCODING_DEFAULT, U32 precision = 0) { setFloatValue(1, &value, encoding); } |
246 | void setDoubleValue(const F64 value, Encoding encoding = ENCODING_DEFAULT, U32 precision = 0) { setDoubleValue(1, &value, encoding); } | 246 | void setDoubleValue(const F64 value, Encoding encoding = ENCODING_DEFAULT, U32 precision = 0) { setDoubleValue(1, &value, encoding); } |
247 | void setStringValue(const std::string& value) { setStringValue(1, &value); } | 247 | void setStringValue(const std::string& value) { setStringValue(1, &value); } |
248 | void setUUIDValue(const LLUUID value) { setUUIDValue(1, &value); } | 248 | void setUUIDValue(const LLUUID& value) { setUUIDValue(1, &value); } |
249 | void setNodeRefValue(const LLXMLNode *value) { setNodeRefValue(1, &value); } | 249 | void setNodeRefValue(const LLXMLNode *value) { setNodeRefValue(1, &value); } |
250 | 250 | ||
251 | void setBoolValue(U32 length, const BOOL *array); | 251 | void setBoolValue(U32 length, const BOOL *array); |