mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-08 02:54:56 -06:00
*Core: Fixed ValueMap::Add(0, ...) issue
git-svn-id: svn://ultimatepp.org/upp/trunk@5608 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
030573a5a2
commit
fad44bb10e
1 changed files with 3 additions and 0 deletions
|
|
@ -308,17 +308,20 @@ public:
|
|||
void Add(const Value& key, const Value& value);
|
||||
void Add(const String& s, const Value& value) { Add(Value(s), value); }
|
||||
void Add(const char *s, const Value& value) { Add(Value(s), value); }
|
||||
void Add(int q, const Value& value) { Add(Value(q), value); }
|
||||
void Add(Id id, const Value& value) { Add(Value(id.ToString()), value); }
|
||||
|
||||
void Set(const Value& key, const Value& value);
|
||||
void Set(const String& s, const Value& value) { Set(Value(s), value); }
|
||||
void Set(const char *s, const Value& value) { Set(Value(s), value); }
|
||||
void Set(int q, const Value& value) { Set(Value(q), value); }
|
||||
void Set(Id id, const Value& value) { Set(Value(id.ToString()), value); }
|
||||
|
||||
void SetAt(int i, const Value& v);
|
||||
void SetKey(int i, const Value& k);
|
||||
void SetKey(int i, const String& s) { SetKey(i, Value(s)); }
|
||||
void SetKey(int i, const char* s) { SetKey(i, Value(s)); }
|
||||
void SetKey(int i, int q) { SetKey(i, Value(q)); }
|
||||
void SetKey(int i, Id id) { SetKey(i, Value(id.ToString())); }
|
||||
void Remove(int i);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue