From 39b7ee24e2d40c6329c75b90ed2008cd0442e249 Mon Sep 17 00:00:00 2001 From: Angel Ortigosa Perez Date: Tue, 21 Apr 2026 21:55:24 +0200 Subject: [PATCH] minimal fixes --- ex00/easyfind.hpp | 4 ++-- ex00/main.cpp | 13 +++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ex00/easyfind.hpp b/ex00/easyfind.hpp index 4126a72..02936cc 100644 --- a/ex00/easyfind.hpp +++ b/ex00/easyfind.hpp @@ -6,7 +6,7 @@ /* By: aortigos template -typename T::iterator easyfind(T array, int nb) +typename T::iterator easyfind(T &array, int nb) { for(typename T::iterator it = array.begin(); it != array.end(); diff --git a/ex00/main.cpp b/ex00/main.cpp index cc56811..46b99fe 100644 --- a/ex00/main.cpp +++ b/ex00/main.cpp @@ -6,7 +6,7 @@ /* By: aortigos