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/gdb_bfd.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/gdb_bfd.c')
-rw-r--r-- | gdb/gdb_bfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c index b72821f..1c496c4 100644 --- a/gdb/gdb_bfd.c +++ b/gdb/gdb_bfd.c @@ -977,7 +977,7 @@ gdb_bfd_record_inclusion (bfd *includer, bfd *includee) -gdb_static_assert (ARRAY_SIZE (_bfd_std_section) == 4); +static_assert (ARRAY_SIZE (_bfd_std_section) == 4); /* See gdb_bfd.h. */ |