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/trad-frame.c | |
parent | d02f31bb130fd54fa2891cbc28fbc01f603eca6c (diff) | |
download | fsf-binutils-gdb-69f6730df3d18216126283864246eaf538bdf91d.zip fsf-binutils-gdb-69f6730df3d18216126283864246eaf538bdf91d.tar.gz fsf-binutils-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/trad-frame.c')
-rw-r--r-- | gdb/trad-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/trad-frame.c b/gdb/trad-frame.c index 6dc7e9a..755d3b9 100644 --- a/gdb/trad-frame.c +++ b/gdb/trad-frame.c @@ -62,7 +62,7 @@ trad_frame_saved_reg * trad_frame_alloc_saved_regs (struct gdbarch *gdbarch) { #ifdef HAVE_IS_TRIVIALLY_CONSTRUCTIBLE - gdb_static_assert (std::is_trivially_constructible<trad_frame_saved_reg>::value); + static_assert (std::is_trivially_constructible<trad_frame_saved_reg>::value); #endif int numregs = gdbarch_num_cooked_regs (gdbarch); |