diff options
Diffstat (limited to 'lib/i-ring.h')
-rw-r--r-- | lib/i-ring.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/i-ring.h b/lib/i-ring.h index ec27d5a3f4..d4efb9726d 100644 --- a/lib/i-ring.h +++ b/lib/i-ring.h @@ -14,10 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. */ -#include "verify.h" enum { I_RING_SIZE = 4 }; -verify (1 <= I_RING_SIZE); +static_assert (1 <= I_RING_SIZE); /* When ir_empty is true, the ring is empty. Otherwise, ir_data[B..F] are defined, where B..F is the contiguous |