Skip to content

Commit

Permalink
fixed clang-5 compiler bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsylve committed Jun 10, 2022
1 parent 9c12aad commit c949dc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/yatlib/bitmap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ class bitmap_scanner {
using reference = const value_type&;

/// Construct an empty iterator (this will compare with end())
constexpr iterator() noexcept = default;
constexpr iterator() noexcept {}; // clang 5 had a bug when using
// "= default" here

/// Construct an iterator from a chunk bitmap
explicit iterator(const bitmap_scanner* bm)
Expand Down

0 comments on commit c949dc7

Please sign in to comment.