Skip to content

Commit 4d60c7a

Browse files
committed
Namespace-qualify memcpy
1 parent f3645da commit 4d60c7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

thinc/backends/cpu_kernels.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void cpu_reduce_max(A* maxes__bo, L* which__bo, const A* X__to,
9393

9494
T -= *length;
9595

96-
memcpy(maxes__bo, X__to, O * sizeof(*maxes__bo));
96+
std::memcpy(maxes__bo, X__to, O * sizeof(*maxes__bo));
9797
X__to += O;
9898
for (L i = 1; i < *length; ++i) {
9999
for (L j = 0; j < O; ++j) {

0 commit comments

Comments
 (0)