]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/procfs.c
gdb: Replace gdb::optional with std::optional
[thirdparty/binutils-gdb.git] / gdb / procfs.c
index 3a5d173ee429ccffd44363b9c155ce84dac7b8e1..1a543a60202cd6b63251a3023b470248843781f4 100644 (file)
@@ -3615,7 +3615,7 @@ procfs_target::make_corefile_notes (bfd *obfd, int *note_size)
   proc_iterate_over_threads (pi, procfs_corefile_thread_callback,
                             &thread_args);
 
-  gdb::optional<gdb::byte_vector> auxv =
+  std::optional<gdb::byte_vector> auxv =
     target_read_alloc (current_inferior ()->top_target (),
                       TARGET_OBJECT_AUXV, NULL);
   if (auxv && !auxv->empty ())