Minor changes to the Dictionary class
This commit is contained in:
parent
9148e61911
commit
7b80f7a95c
@ -242,11 +242,11 @@ public:
|
||||
_next = NULL;
|
||||
}
|
||||
|
||||
const char *stringValue() const {return _value == NULL ? "" : _value->toString();}
|
||||
const char *stringValue() const {return _value == NULL ? NULL : _value->toString();}
|
||||
const char *getParameter(const unsigned int index)
|
||||
{
|
||||
unsigned int position(0);
|
||||
if(isListEmpty(_head->_next))return "";
|
||||
if(isListEmpty(_head->_next))return NULL;
|
||||
|
||||
Dictionary *cursor = _head->_next;
|
||||
|
||||
@ -257,7 +257,7 @@ public:
|
||||
cursor = cursor->_next;
|
||||
}
|
||||
|
||||
return "";
|
||||
return NULL;
|
||||
}
|
||||
protected:
|
||||
Dictionary(const char *parameter, T *value) : Dictionary()
|
||||
|
Loading…
Reference in New Issue
Block a user