From 9786e4a08301832fb0ddbc67cfe6dd0ea52650e9 Mon Sep 17 00:00:00 2001 From: Oprea Alexandru Date: Sat, 9 Sep 2023 08:23:21 +0300 Subject: [PATCH] fixed confliciting name --- src/utils/inc/brainflow_array.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/inc/brainflow_array.h b/src/utils/inc/brainflow_array.h index 559145cba..5dba6e732 100644 --- a/src/utils/inc/brainflow_array.h +++ b/src/utils/inc/brainflow_array.h @@ -448,9 +448,9 @@ class BrainFlowArray } /// fill already preallocated buffer - void fill (T *ptr, int size) + void fill (T *ptr, int num) { - memcpy (origin, ptr, sizeof (T) * size); + memcpy (origin, ptr, sizeof (T) * num); } };