From c949dc70ba050bdb0d8594d961aeb41d870aac2d Mon Sep 17 00:00:00 2001 From: Joe Sylve Date: Fri, 10 Jun 2022 10:45:17 -0500 Subject: [PATCH] fixed clang-5 compiler bug --- include/yatlib/bitmap.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/yatlib/bitmap.hpp b/include/yatlib/bitmap.hpp index eed53eb..ccd45f2 100644 --- a/include/yatlib/bitmap.hpp +++ b/include/yatlib/bitmap.hpp @@ -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)