You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static_assert(std::is_same<bigint, T>::value || !std::numeric_limits<T>::is_signed, "only unsigned types or bigint supported"); //bigint does not carry sign bit on shift
302
-
int i = 0;
302
+
unsigned i = 0;
303
303
for (T v = _val; v; ++i, v >>= 8) {}
304
304
bytes ret(std::max<unsigned>(_min, i), 0);
305
305
toBigEndian(_val, ret);
@@ -379,7 +379,7 @@ void iterateReplacing(std::vector<T>& _vector, F const& _f)
379
379
{
380
380
if (!useModified)
381
381
{
382
-
std::move(_vector.begin(), _vector.begin() + i, back_inserter(modifiedVector));
0 commit comments