Skip to content

Commit

Permalink
Add missing member initialization in c10::ExtraMeta constructor (pyto…
Browse files Browse the repository at this point in the history
…rch#114448)

Pull Request resolved: pytorch#114448
Approved by: https://github.com/Skylion007
  • Loading branch information
cyyever authored and pytorchmergebot committed Nov 24, 2023
1 parent dad3cc4 commit 07e00de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions c10/core/TensorImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ struct C10_API ExtraMeta {
: symbolic_shape_meta_(std::move(symbolic_shape_meta)),
named_tensor_meta_(std::move(named_tensor_meta)),
backend_meta_(std::move(backend_meta)),
custom_data_ptr_error_msg_(std::move(custom_data_ptr_error_msg)),
custom_storage_error_msg_(std::move(custom_storage_access_error_msg)) {}

std::unique_ptr<ExtraMeta> clone() const {
Expand Down

0 comments on commit 07e00de

Please sign in to comment.