diff --git a/samples/range.chai b/samples/range.chai index 63fb766f..42dbe2cd 100644 --- a/samples/range.chai +++ b/samples/range.chai @@ -5,7 +5,7 @@ def for_each(container, function) while (!range.empty()) { function(range.front()); - range.popFront(); + range.pop_front(); } }