Turn value_zero into static "constructor"
This turns value_zero into a static "constructor" of value. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
parent
b27556e3c1
commit
ee7bb2944b
15 changed files with 77 additions and 77 deletions
|
@ -1506,7 +1506,7 @@ valpy_absolute (PyObject *self)
|
|||
{
|
||||
scoped_value_mark free_values;
|
||||
|
||||
if (value_less (value, value_zero (value->type (), not_lval)))
|
||||
if (value_less (value, value::zero (value->type (), not_lval)))
|
||||
isabs = 0;
|
||||
}
|
||||
catch (const gdb_exception &except)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue