summaryrefslogtreecommitdiffstats
path: root/core/templates/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/templates/list.h')
-rw-r--r--core/templates/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/list.h b/core/templates/list.h
index eaf1dbb4a0..010e35eed8 100644
--- a/core/templates/list.h
+++ b/core/templates/list.h
@@ -492,7 +492,7 @@ public:
_data->last = p_I;
}
- void invert() {
+ void reverse() {
int s = size() / 2;
Element *F = front();
Element *B = back();