summaryrefslogtreecommitdiffstats
path: root/scene/animation/animation_mixer.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-08 11:48:34 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-08 11:48:34 +0100
commit91dacb469d3ee942c35f5b73bfee50741ce74766 (patch)
tree8cea2cd8555ee967af3440449750d6ec47ce86d4 /scene/animation/animation_mixer.cpp
parentc8c483cf57a768110fce57e509f9b855e69d34b7 (diff)
parent96a95cb9743e755f10fa6a14895ea099e5ac4c51 (diff)
downloadredot-engine-91dacb469d3ee942c35f5b73bfee50741ce74766.tar.gz
Merge pull request #51156 from Muller-Castro/value2ref
Add const lvalue ref to container parameters
Diffstat (limited to 'scene/animation/animation_mixer.cpp')
-rw-r--r--scene/animation/animation_mixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_mixer.cpp b/scene/animation/animation_mixer.cpp
index 2338c305de..637b3917c7 100644
--- a/scene/animation/animation_mixer.cpp
+++ b/scene/animation/animation_mixer.cpp
@@ -2166,7 +2166,7 @@ AnimationMixer::AnimationMixer() {
AnimationMixer::~AnimationMixer() {
}
-void AnimatedValuesBackup::set_data(const HashMap<NodePath, AnimationMixer::TrackCache *> p_data) {
+void AnimatedValuesBackup::set_data(const HashMap<NodePath, AnimationMixer::TrackCache *> &p_data) {
clear_data();
for (const KeyValue<NodePath, AnimationMixer::TrackCache *> &E : p_data) {