Skip to content

Commit

Permalink
perf(BaseEntity): Use structCopy over duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
elpete committed Aug 29, 2022
1 parent 23ead29 commit b72b42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/BaseEntity.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ component accessors="true" {
if ( isNull( arguments.name ) ) {
return variables._wirebox.getInstance(
name = mappingName(),
initArguments = { meta : duplicate( variables._meta ) }
initArguments = { meta : structCopy( variables._meta ) }
);
}
return variables._wirebox.getInstance( arguments.name );
Expand Down

0 comments on commit b72b42c

Please sign in to comment.