summaryrefslogtreecommitdiff
path: root/scene/debugger
diff options
context:
space:
mode:
Diffstat (limited to 'scene/debugger')
-rw-r--r--scene/debugger/script_debugger_remote.cpp8
1 files changed, 4 insertions, 4 deletions
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<VS::FrameProfileArea> profile_areas = VS::get_singleton()->get_frame_profile();
if (profile_areas.size()) {
- PoolVector<String> area_names;
- PoolVector<real_t> area_times;
+ Vector<String> area_names;
+ Vector<real_t> area_times;
area_names.resize(profile_areas.size());
area_times.resize(profile_areas.size() * 2);
{
- PoolVector<String>::Write area_namesw = area_names.write();
- PoolVector<real_t>::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;