summaryrefslogtreecommitdiff
path: root/indra/llcommon/llsd.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-05-30 15:29:27 -0700
committerMerov Linden <merov@lindenlab.com>2014-05-30 15:29:27 -0700
commitc780f730fed7ed90bf7228fd42e9ea46b8bce1cc (patch)
tree9a617520758cc01fcf0792a8bde24f3fee3e8612 /indra/llcommon/llsd.h
parent68b62747edb7073dd3f4975e2b38388ae80d801c (diff)
parent4885c122eaf1b4e304ce598f308d806322efacfc (diff)
DD-92 : pull merge lindenlab/sunshine-external to get AISv3 work
Diffstat (limited to 'indra/llcommon/llsd.h')
-rwxr-xr-xindra/llcommon/llsd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llcommon/llsd.h b/indra/llcommon/llsd.h
index deb87d7497..7b9b1285f5 100755
--- a/indra/llcommon/llsd.h
+++ b/indra/llcommon/llsd.h
@@ -249,7 +249,10 @@ public:
UUID asUUID() const;
Date asDate() const;
URI asURI() const;
- Binary asBinary() const;
+ const Binary& asBinary() const;
+
+ // asStringRef on any non-string type will return a ref to an empty string.
+ const String& asStringRef() const;
operator Boolean() const { return asBoolean(); }
operator Integer() const { return asInteger(); }