]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/event-top.c
gdb: Replace gdb::optional with std::optional
[thirdparty/binutils-gdb.git] / gdb / event-top.c
index 6ce5370453931bfa16cfbe2334b07faa6f284d81..d47e703d961239df9f6af7c984af5278f69d6f9d 100644 (file)
@@ -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))
     {