From c70c09c961969b8157d6b8058de39e74d52da27a Mon Sep 17 00:00:00 2001 From: gtsoul-tech Date: Fri, 10 May 2024 12:43:45 +0300 Subject: [PATCH] supervector --- src/util/supervector/supervector.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/supervector/supervector.hpp b/src/util/supervector/supervector.hpp index 5e2de235..8414fa60 100644 --- a/src/util/supervector/supervector.hpp +++ b/src/util/supervector/supervector.hpp @@ -208,18 +208,18 @@ public: SuperVector(typename base_type::type const v); template - SuperVector(T const other); + explicit SuperVector(T const other); SuperVector(SuperVector const lo, SuperVector const hi); SuperVector(previous_type const lo, previous_type const hi); - static SuperVector dup_u8 (uint8_t other) { return {other}; }; + static SuperVector dup_u8 (uint8_t other) { return {SuperVector(other)}; }; static SuperVector dup_s8 (int8_t other) { return {other}; }; static SuperVector dup_u16(uint16_t other) { return {other}; }; static SuperVector dup_s16(int16_t other) { return {other}; }; static SuperVector dup_u32(uint32_t other) { return {other}; }; static SuperVector dup_s32(int32_t other) { return {other}; }; - static SuperVector dup_u64(uint64_t other) { return {other}; }; + static SuperVector dup_u64(uint64_t other) { return {SuperVector(other)}; }; static SuperVector dup_s64(int64_t other) { return {other}; }; void operator=(SuperVector const &other);