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/f-array-walker.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/f-array-walker.h')
-rw-r--r-- | gdb/f-array-walker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/f-array-walker.h b/gdb/f-array-walker.h index 5696367..de40837 100644 --- a/gdb/f-array-walker.h +++ b/gdb/f-array-walker.h @@ -187,7 +187,7 @@ class fortran_array_walker /* Ensure that Impl is derived from the required base class. This just ensures that all of the required API methods are available and have a sensible default implementation. */ - gdb_static_assert ((std::is_base_of<fortran_array_walker_base_impl,Impl>::value)); + static_assert ((std::is_base_of<fortran_array_walker_base_impl,Impl>::value)); public: /* Create a new array walker. TYPE is the type of the array being walked |