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:
Marc Poulhiès 2024-05-02 12:23:36 +02:00
parent a704554d2e
commit 4bb21b5cd7

View file

@ -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)];
};