Browse Source

putil: work around GCC bug causing undefined reference in debug build

rdb 7 years ago
parent
commit
115f8df4d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/putil/bitMask.h

+ 1 - 1
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<WType, nbits> all_on();
   INLINE static BitMask<WType, nbits> all_off();