Small fix for the operator<=
This commit is contained in:
parent
19af9c78bf
commit
231ad8cd90
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ bool variant::operator<=(const variant& v) const
|
|||
}
|
||||
|
||||
if(v.type_ == TYPE_NULL) {
|
||||
return *this < variant(0);
|
||||
return *this <= variant(0);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue