add case for addition to void
This commit is contained in:
parent
04d541ed44
commit
cb39ea2508
1 changed files with 4 additions and 0 deletions
|
|
@ -341,6 +341,10 @@ value_t& value_t::operator+=(const value_t& val)
|
|||
}
|
||||
|
||||
switch (type()) {
|
||||
case VOID:
|
||||
*this = value_t(val);
|
||||
return *this;
|
||||
|
||||
case DATETIME:
|
||||
switch (val.type()) {
|
||||
case INTEGER:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue