diff options
Diffstat (limited to 'update_manager/evaluation_context-inl.h')
-rw-r--r-- | update_manager/evaluation_context-inl.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/update_manager/evaluation_context-inl.h b/update_manager/evaluation_context-inl.h index 32551384..9dfed388 100644 --- a/update_manager/evaluation_context-inl.h +++ b/update_manager/evaluation_context-inl.h @@ -34,8 +34,7 @@ const T* EvaluationContext::GetValue(Variable<T>* var) { // Cache the value for the next time. The map of CachedValues keeps the // ownership of the pointer until the map is destroyed. value_cache_.emplace( - static_cast<BaseVariable*>(var), - std::move(BoxedValue(result))); + static_cast<BaseVariable*>(var), BoxedValue(result)); return result; } |