Skip to content

Commit a5b38b9

Browse files
committed
fix variable name
1 parent 09ba2d8 commit a5b38b9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cpp08/ex00/src/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ main ()
1616
print (
1717
GREEN SUB_TITTLE
1818
"easyfind() must throw an exception if element is not found\n" RESET);
19-
std::deque<int> vec;
19+
std::deque<int> deq;
2020
for (int i = 0; i < 10; i++)
21-
vec.push_back (i);
21+
deq.push_back (i);
2222
try
2323
{
24-
print (YELLOW "Element found: " RESET << *easyfind (vec, 500));
24+
print (YELLOW "Element found: " RESET << *easyfind (deq, 500));
2525
}
2626
catch (std::exception &e)
2727
{

0 commit comments

Comments
 (0)