Skip to content

Commit

Permalink
Fix unix build
Browse files Browse the repository at this point in the history
  • Loading branch information
lriggs committed Jul 26, 2023
1 parent 39b378a commit daf7998
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/src/arrow/c/bridge.cc
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ struct SchemaExporter {
}

Status ExportSchema(const Schema& schema) {
static const StructType dummy_struct_type({});
static const StructType dummy_struct_type = StructType();
flags_ = 0;

RETURN_NOT_OK(ExportFormat(dummy_struct_type));
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/arrow/type.h
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ class ARROW_EXPORT StructType : public NestedType {
explicit StructType(const std::vector<std::shared_ptr<Field>>& fields);
explicit StructType();
StructType(const StructType& rhs) = delete;
StructType& operator=(const StructType& rhs) = delete;
StructType& operator=(const StructType& rhs) = delete;

~StructType() override;

Expand Down

0 comments on commit daf7998

Please sign in to comment.