diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/Cryptography/BigNumber.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Cryptography/BigNumber.h b/src/common/Cryptography/BigNumber.h index 1152b468ac8..f269a813075 100644 --- a/src/common/Cryptography/BigNumber.h +++ b/src/common/Cryptography/BigNumber.h @@ -42,7 +42,7 @@ class TC_COMMON_API BigNumber void SetQword(uint64); void SetBinary(uint8 const* bytes, int32 len, bool littleEndian = true); template <typename Container> - auto SetBinary(Container const& c, bool littleEndian = true) -> std::enable_if_t<!std::is_pointer_v<Container>> { SetBinary(std::data(c), std::size(c), littleEndian); } + auto SetBinary(Container const& c, bool littleEndian = true) -> std::enable_if_t<!std::is_pointer_v<std::decay_t<Container>>> { SetBinary(std::data(c), std::size(c), littleEndian); } bool SetHexStr(char const* str); bool SetHexStr(std::string const& str) { return SetHexStr(str.c_str()); } |
