Removing duplicated function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user