From 3205a92ad872f918c8322cdcd1434c231a1fd251 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 17 Feb 2020 18:06:54 -0300 Subject: PoolVector is gone, replaced by Vector Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector`. --- scene/debugger/script_debugger_remote.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scene/debugger') diff --git a/scene/debugger/script_debugger_remote.cpp b/scene/debugger/script_debugger_remote.cpp index 80972ba3d1..0e61a5746b 100644 --- a/scene/debugger/script_debugger_remote.cpp +++ b/scene/debugger/script_debugger_remote.cpp @@ -996,13 +996,13 @@ void ScriptDebuggerRemote::idle_poll() { if (visual_profiling) { Vector profile_areas = VS::get_singleton()->get_frame_profile(); if (profile_areas.size()) { - PoolVector area_names; - PoolVector area_times; + Vector area_names; + Vector area_times; area_names.resize(profile_areas.size()); area_times.resize(profile_areas.size() * 2); { - PoolVector::Write area_namesw = area_names.write(); - PoolVector::Write area_timesw = area_times.write(); + String *area_namesw = area_names.ptrw(); + real_t *area_timesw = area_times.ptrw(); for (int i = 0; i < profile_areas.size(); i++) { area_namesw[i] = profile_areas[i].name; -- cgit v1.2.3