diff options
author | Tom Tromey <tom@tromey.com> | 2023-10-18 20:44:11 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-11-29 14:29:44 -0700 |
commit | 69f6730df3d18216126283864246eaf538bdf91d (patch) | |
tree | e17002e214e8d6d2ea423575e29b56f90005b778 /gdb/linux-tdep.c | |
parent | d02f31bb130fd54fa2891cbc28fbc01f603eca6c (diff) | |
download | gdb-69f6730df3d18216126283864246eaf538bdf91d.zip gdb-69f6730df3d18216126283864246eaf538bdf91d.tar.gz gdb-69f6730df3d18216126283864246eaf538bdf91d.tar.bz2 |
Remove gdb_static_assert
C++17 makes the second parameter to static_assert optional, so we can
remove gdb_static_assert now.
Diffstat (limited to 'gdb/linux-tdep.c')
-rw-r--r-- | gdb/linux-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-tdep.c b/gdb/linux-tdep.c index 5fd64aa..82e8bc3 100644 --- a/gdb/linux-tdep.c +++ b/gdb/linux-tdep.c @@ -1129,7 +1129,7 @@ linux_read_core_file_mappings read_core_file_mappings_loop_ftype loop_cb) { /* Ensure that ULONGEST is big enough for reading 64-bit core files. */ - gdb_static_assert (sizeof (ULONGEST) >= 8); + static_assert (sizeof (ULONGEST) >= 8); /* It's not required that the NT_FILE note exists, so return silently if it's not found. Beyond this point though, we'll complain |