aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/value.h b/gdb/value.h
index e491271..6d91e8e 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -1269,7 +1269,7 @@ extern struct value *value_neg (struct value *arg1);
extern struct value *value_complement (struct value *arg1);
extern struct value *value_struct_elt (struct value **argp,
- gdb::optional<gdb::array_view <value *>> args,
+ std::optional<gdb::array_view <value *>> args,
const char *name, int *static_memfuncp,
const char *err);
@@ -1635,7 +1635,7 @@ struct scoped_array_length_limiting
private:
/* Used to hold the previous array value element limit. */
- gdb::optional<int> m_old_value;
+ std::optional<int> m_old_value;
};
#endif /* !defined (VALUE_H) */