Skip to content

Commit 47439bd

Browse files
Lord-McSweeneyLord-McSweeney
Lord-McSweeney
authored andcommitted
avm2: Remove static string in Domain::get_defined_value_handling_vector
1 parent abc1d5d commit 47439bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/avm2/domain.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ impl<'gc> Domain<'gc> {
290290
activation.gc(),
291291
&name[(start + 2)..(name.len() - 1)],
292292
));
293-
name = "__AS3__.vec::Vector".into();
293+
name = AvmString::new_utf8(activation.gc(), "__AS3__.vec::Vector");
294294
}
295295
// FIXME - is this the correct api version?
296296
let api_version = activation.avm2().root_api_version;

0 commit comments

Comments
 (0)