Skip to content

Commit cc81552

Browse files
authored
Merge pull request zcash#6835 from conradoplg/fix-msvc-support
make cache.cpp compile with MSVC
2 parents 239edcf + 255755a commit cc81552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zcash/cache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class BundleCacheHasher
3131
{
3232
static_assert(hash_select < 8, "BundleCacheHasher only has 8 hashes available.");
3333
uint32_t u;
34-
std::memcpy(&u, key.begin() + 4 * hash_select, 4);
34+
std::memcpy(&u, key.data() + 4 * hash_select, 4);
3535
return u;
3636
}
3737
};

0 commit comments

Comments
 (0)