Removing duplicated function

This commit is contained in:
Angel Ortigosa Perez
2026-04-08 20:33:02 +02:00
parent 888c78c732
commit e4a9834809

View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/03/23 14:19:16 by aortigos #+# #+# */
/* Updated: 2026/03/23 14:25:35 by aortigos ### ########.fr */
/* Updated: 2026/04/08 20:32:50 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -25,13 +25,4 @@ void iter(PTR *address, unsigned int const length, T func)
}
}
template <typename PTR, typename T>
void iter(PTR const *address, unsigned int const length, T func)
{
for (unsigned int i = 0; i < length; i++)
{
func(address[i]);
}
}
#endif