aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xml-syscall.c')
-rw-r--r--gdb/xml-syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xml-syscall.c b/gdb/xml-syscall.c
index da1211e..cfb5434 100644
--- a/gdb/xml-syscall.c
+++ b/gdb/xml-syscall.c
@@ -314,7 +314,7 @@ syscall_parse_xml (const char *document, xml_fetch_another fetcher)
static struct syscalls_info *
xml_init_syscalls_info (const char *filename)
{
- gdb::optional<gdb::char_vector> full_file
+ std::optional<gdb::char_vector> full_file
= xml_fetch_content_from_file (filename,
const_cast<char *>(gdb_datadir.c_str ()));
if (!full_file)