File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -519,16 +519,15 @@ protected:
519519 _LIBCPP_HIDE_FROM_ABI size_t __hash_code () const _NOEXCEPT;
520520};
521521
522+ template <size_t _Size>
523+ const unsigned __bitset<1 , _Size>::__bits_per_word;
524+
522525template <size_t _Size>
523526inline _LIBCPP_CONSTEXPR __bitset<1 , _Size>::__bitset() _NOEXCEPT : __first_(0 ) {}
524527
525528template <size_t _Size>
526529inline _LIBCPP_CONSTEXPR __bitset<1 , _Size>::__bitset(unsigned long long __v) _NOEXCEPT
527- : __first_(static_cast <__storage_type>(__v)) {
528- // Force __bits_per_word to be instantiated to avoid "gdb.error: There is no member or method named
529- // __bits_per_word"
530- (void )__bits_per_word;
531- }
530+ : __first_(static_cast <__storage_type>(__v)) {}
532531
533532template <size_t _Size>
534533inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 void
You can’t perform that action at this time.
0 commit comments