LLSD update. LLSD::insert no longer returns self. Use LLSD::with if return value is required.

This commit is contained in:
Shyotl
2011-03-27 19:06:15 -05:00
parent acf31bb885
commit de109f9f97
4 changed files with 44 additions and 42 deletions

View File

@@ -226,8 +226,9 @@ public:
bool has(const String&) const;
LLSD get(const String&) const;
LLSD& insert(const String&, const LLSD&);
void insert(const String&, const LLSD&);
void erase(const String&);
LLSD& with(const String&, const LLSD&);
LLSD& operator[](const String&);
LLSD& operator[](const char* c) { return (*this)[String(c)]; }
@@ -241,9 +242,10 @@ public:
LLSD get(Integer) const;
void set(Integer, const LLSD&);
LLSD& insert(Integer, const LLSD&);
void insert(Integer, const LLSD&);
void append(const LLSD&);
void erase(Integer);
LLSD& with(Integer, const LLSD&);
const LLSD& operator[](Integer) const;
LLSD& operator[](Integer);