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/defs.h | |
parent | d02f31bb130fd54fa2891cbc28fbc01f603eca6c (diff) | |
download | binutils-69f6730df3d18216126283864246eaf538bdf91d.zip binutils-69f6730df3d18216126283864246eaf538bdf91d.tar.gz binutils-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/defs.h')
-rw-r--r-- | gdb/defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -229,7 +229,7 @@ enum language /* The number of bits needed to represent all languages, with enough padding to allow for reasonable growth. */ #define LANGUAGE_BITS 5 -gdb_static_assert (nr_languages <= (1 << LANGUAGE_BITS)); +static_assert (nr_languages <= (1 << LANGUAGE_BITS)); /* The number of bytes needed to represent all languages. */ #define LANGUAGE_BYTES ((LANGUAGE_BITS + HOST_CHAR_BIT - 1) / HOST_CHAR_BIT) |