diff options
Diffstat (limited to 'source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc')
-rw-r--r-- | source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc b/source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc index 7bef5fda636..9e751093ae2 100644 --- a/source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc +++ b/source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc @@ -96,7 +96,7 @@ string gnuplotify_name(const string &name) void write_stats_data(const DebugContext &ctx) { // Fill in array of all stats which are to be displayed. - vector<StatsEntry> stats; + Vector<StatsEntry> stats; stats.reserve(ctx.graph->id_nodes.size()); for (const IDNode *id_node : ctx.graph->id_nodes) { const double time = get_node_time(ctx, id_node); @@ -106,7 +106,7 @@ void write_stats_data(const DebugContext &ctx) StatsEntry entry; entry.id_node = id_node; entry.time = time; - stats.push_back(entry); + stats.append(entry); } // Sort the data. std::sort(stats.begin(), stats.end(), stat_entry_comparator); |