From 860c270c73048b4930ac8cbebcd60be746eb9782 Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Sun, 27 Dec 2020 10:44:22 +0000 Subject: Codechange: Replace assert_compile macro with static_assert --- src/map_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map_type.h') diff --git a/src/map_type.h b/src/map_type.h index 453186d88..f34f137c6 100644 --- a/src/map_type.h +++ b/src/map_type.h @@ -24,7 +24,7 @@ struct Tile { byte m5; ///< General purpose }; -assert_compile(sizeof(Tile) == 8); +static_assert(sizeof(Tile) == 8); /** * Data that is stored per tile. Also used Tile for this. -- cgit v1.2.3-54-g00ecf