From 115f8df4d593649fda3d2917339519a3e1303a35 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 26 Aug 2018 14:03:44 +0200 Subject: [PATCH] putil: work around GCC bug causing undefined reference in debug build --- panda/src/putil/bitMask.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/putil/bitMask.h b/panda/src/putil/bitMask.h index cb11fe10bf..ca5c9d8362 100644 --- a/panda/src/putil/bitMask.h +++ b/panda/src/putil/bitMask.h @@ -37,7 +37,7 @@ PUBLISHED: enum { num_bits = nbits }; constexpr BitMask() = default; - constexpr BitMask(WordType init_value); + ALWAYS_INLINE constexpr BitMask(WordType init_value); INLINE static BitMask all_on(); INLINE static BitMask all_off();