diff options
author | Ryan Williams <rdw@lindenlab.com> | 2008-05-13 21:07:14 +0000 |
---|---|---|
committer | Ryan Williams <rdw@lindenlab.com> | 2008-05-13 21:07:14 +0000 |
commit | 52333fc8307b13fa83683d239305765aa48dc35b (patch) | |
tree | 0caa64f54195584f3344ef9bb845d51cb05a2134 /indra/llcommon | |
parent | 875606a04d656ef6e5600a3a7fb6e8b52feb1945 (diff) |
svn merge -r87349:87423 svn+ssh://svn.lindenlab.com/svn/linden/branches/escrow/liquid-banjo-03-merge release dataserver-is-deprecated
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llsd.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/llsd.cpp b/indra/llcommon/llsd.cpp index ecca4c9b71..19030cd4fd 100644 --- a/indra/llcommon/llsd.cpp +++ b/indra/llcommon/llsd.cpp @@ -185,6 +185,11 @@ namespace { }; LLSD::String ImplBoolean::asString() const + // *NOTE: The reason that false is not converted to "false" is + // because that would break roundtripping, + // e.g. LLSD(false).asString().asBoolean(). There are many + // reasons for wanting LLSD("false").asBoolean() == true, such + // as "everything else seems to work that way". { return mValue ? "true" : ""; } |