aboutsummaryrefslogtreecommitdiffstats
path: root/include/chilbert
diff options
context:
space:
mode:
Diffstat (limited to 'include/chilbert')
-rw-r--r--include/chilbert/detail/MultiBitVec.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/chilbert/detail/MultiBitVec.hpp b/include/chilbert/detail/MultiBitVec.hpp
index bf1802c..e3a305d 100644
--- a/include/chilbert/detail/MultiBitVec.hpp
+++ b/include/chilbert/detail/MultiBitVec.hpp
@@ -334,6 +334,10 @@ public:
private:
using Index = detail::BitVecIndex<Derived>;
+ friend Derived;
+
+ MultiBitVec() = default;
+
Derived* self() { return static_cast<Derived*>(this); }
const Derived* self() const { return static_cast<const Derived*>(this); }
};