aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-top.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r--gdb/event-top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 6ce5370..d47e703 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -706,7 +706,7 @@ void
gdb_rl_deprep_term_function (void)
{
#ifdef RL_STATE_EOF
- gdb::optional<scoped_restore_tmpl<int>> restore_eof_found;
+ std::optional<scoped_restore_tmpl<int>> restore_eof_found;
if (RL_ISSTATE (RL_STATE_EOF))
{