diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-08 11:48:34 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-08 11:48:34 +0100 |
commit | 91dacb469d3ee942c35f5b73bfee50741ce74766 (patch) | |
tree | 8cea2cd8555ee967af3440449750d6ec47ce86d4 /scene/animation/animation_mixer.cpp | |
parent | c8c483cf57a768110fce57e509f9b855e69d34b7 (diff) | |
parent | 96a95cb9743e755f10fa6a14895ea099e5ac4c51 (diff) | |
download | redot-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.cpp | 2 |
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) { |