diff options
Diffstat (limited to 'src/states/state_change_queue.cc')
-rw-r--r-- | src/states/state_change_queue.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/states/state_change_queue.cc b/src/states/state_change_queue.cc index effe7f3..dcb19df 100644 --- a/src/states/state_change_queue.cc +++ b/src/states/state_change_queue.cc @@ -21,7 +21,7 @@ bool StateChangeQueue::NotifyPropertiesUpdated( if (stored_changes) stored_changes->MergeDictionary(&changed_properties); else - stored_changes.reset(changed_properties.DeepCopy()); + stored_changes = changed_properties.CreateDeepCopy(); while (state_changes_.size() > max_queue_size_) { // Queue is full. |