From faa5c52caaa74761dd5e0078b5472da202e955ec Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Aug 2018 17:40:30 +0200 Subject: Remove problematic conversion operators --- chilbert/FixBitVec.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chilbert/FixBitVec.hpp') diff --git a/chilbert/FixBitVec.hpp b/chilbert/FixBitVec.hpp index 289334a..610119f 100644 --- a/chilbert/FixBitVec.hpp +++ b/chilbert/FixBitVec.hpp @@ -49,6 +49,12 @@ public: assert(bits <= FBV_BITS); } + CFixBitVec(const size_t bits, const FBV_UINT value) + : m_rack{value} + { + assert(bits <= FBV_BITS); + } + /// Return the size in bits size_t size() const { return FBV_BITS; } -- cgit v1.2.1