diff --git a/tutorials/cont/TListAndSTL.C b/tutorials/cont/TListAndSTL.C
index ad022864683fa6e4783d4d0d972e34a7422cdd85..28068dc785e2cae8cbda8f0ef6a01dcea3222332 100644
--- a/tutorials/cont/TListAndSTL.C
+++ b/tutorials/cont/TListAndSTL.C
@@ -1,7 +1,7 @@
 /// \file
 /// \ingroup tutorial_cont
 /// \notebook -nodraw
-/// This is an example of using TList with STL algoritms in CINT.
+/// This is an example of using TList with STL algoritms in CLING.
 ///
 /// #### Output produced by `.x TListAndSTL.C`
 /// \macro_output
@@ -70,8 +70,7 @@ void TListAndSTL()
 
    //->>>>>>> Example #1 <<<<<<<-
    // running the std::for_each algorithm on the list
-   TIter iter(&list1);
-   for_each(iter.Begin(), TIter::End(), SEnumFunctor());
+   for_each(list1.begin(), list1.end(), SEnumFunctor());
 
    //->>>>>>> Example #2 <<<<<<<-
    // we can try to find something in the container