diff options
author | Tom Tromey <tom@tromey.com> | 2023-02-14 09:37:47 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-15 15:07:07 -0700 |
commit | a5b210cb6980f6aa38ae339aeef40c82799822a1 (patch) | |
tree | e295483b6de278f20b1ac20e71ae3b58238364c9 /gdb/valops.c | |
parent | b2227e67b4bdee65b1240f725dd2ea214178d984 (diff) | |
download | gdb-a5b210cb6980f6aa38ae339aeef40c82799822a1.zip gdb-a5b210cb6980f6aa38ae339aeef40c82799822a1.tar.gz gdb-a5b210cb6980f6aa38ae339aeef40c82799822a1.tar.bz2 |
Change value::m_lazy to bool
This changes value::m_lazy to be a bool and updates the various uses.
Reviewed-By: Bruno Larsen <blarsen@redhat.com>
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 3901053..90f7b8c 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1343,7 +1343,7 @@ value_assign (struct value *toval, struct value *fromval) information, but its contents are updated from FROMVAL. This implies the returned value is not lazy, even if TOVAL was. */ val = toval->copy (); - val->set_lazy (0); + val->set_lazy (false); copy (fromval->contents (), val->contents_raw ()); /* We copy over the enclosing type and pointed-to offset from FROMVAL |