Skip to content

Commit

Permalink
another minor
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Oct 30, 2024
1 parent ca16eee commit 1addaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/extension_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class ARROW_EXPORT ExtensionType : public DataType {

protected:
explicit ExtensionType(std::shared_ptr<DataType> storage_type)
: DataType(Type::EXTENSION), storage_type_(storage_type) {}
: DataType(Type::EXTENSION), storage_type_(std::move(storage_type)) {}

std::shared_ptr<DataType> storage_type_;
};
Expand Down

0 comments on commit 1addaf9

Please sign in to comment.