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()) {
|
switch (type()) {
|
||||||
|
case VOID:
|
||||||
|
*this = value_t(val);
|
||||||
|
return *this;
|
||||||
|
|
||||||
case DATETIME:
|
case DATETIME:
|
||||||
switch (val.type()) {
|
switch (val.type()) {
|
||||||
case INTEGER:
|
case INTEGER:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue