summaryrefslogtreecommitdiff
path: root/src/company_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r--src/company_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp
index ba82b44b8..19aea1775 100644
--- a/src/company_gui.cpp
+++ b/src/company_gui.cpp
@@ -672,7 +672,7 @@ private:
AddChildren(&list, INVALID_GROUP, 0);
}
- this->groups.Compact();
+ this->groups.shrink_to_fit();
this->groups.RebuildDone();
}