mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-13 20:10:02 +08:00
Turn allocate_value into a static "constructor"
This changes allocate_value to be a static "constructor" of value. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@ -580,7 +580,7 @@ python_xmethod_worker::invoke (struct value *obj,
|
||||
}
|
||||
else
|
||||
{
|
||||
res = allocate_value (lookup_typename (current_language,
|
||||
res = value::allocate (lookup_typename (current_language,
|
||||
"void", NULL, 0));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user