summaryrefslogtreecommitdiff
path: root/src/graph_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r--src/graph_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index 1acf7728c..69bdb3b1f 100644
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -1140,7 +1140,7 @@ private:
const Company *c;
FOR_ALL_COMPANIES(c) {
- *this->companies.Append() = c;
+ this->companies.push_back(c);
}
this->companies.shrink_to_fit();