From 912f42e81cbd946285b7d5c5fa982e75c805a0a8 Mon Sep 17 00:00:00 2001 From: Oprea Alexandru Date: Sun, 10 Sep 2023 02:36:48 +0300 Subject: [PATCH] fixed confliciting name (#672) --- 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); } };