fix single argument static_assert
Single argument static_assert is C++17 only. gcc/ChangeLog: * value-range.h: fix static_assert to use 2 arguments.
This commit is contained in:
parent
a704554d2e
commit
4bb21b5cd7
1 changed files with 1 additions and 1 deletions
|
@ -741,7 +741,7 @@ private:
|
|||
|
||||
vrange *m_vrange;
|
||||
// The buffer must be at least the size of the largest range.
|
||||
static_assert (sizeof (int_range_max) > sizeof (frange));
|
||||
static_assert (sizeof (int_range_max) > sizeof (frange), "");
|
||||
char m_buffer[sizeof (int_range_max)];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue