Skip to content

Commit 5cf06c8

Browse files
committed
try to fix -Wchanges-meaning
1 parent 5b734f6 commit 5cf06c8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/iceberg/table_metadata.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ struct ICEBERG_EXPORT TableMetadata {
9191
/// ID of the table's current schema
9292
std::optional<int32_t> current_schema_id;
9393
/// A list of partition specs
94-
std::vector<std::shared_ptr<PartitionSpec>> partition_specs;
94+
std::vector<std::shared_ptr<iceberg::PartitionSpec>> partition_specs;
9595
/// ID of the current partition spec that writers should use by default
9696
int32_t default_spec_id;
9797
/// The highest assigned partition field ID across all partition specs for the table
@@ -101,15 +101,15 @@ struct ICEBERG_EXPORT TableMetadata {
101101
/// ID of the current table snapshot
102102
int64_t current_snapshot_id;
103103
/// A list of valid snapshots
104-
std::vector<std::shared_ptr<Snapshot>> snapshots;
104+
std::vector<std::shared_ptr<iceberg::Snapshot>> snapshots;
105105
/// A list of timestamp and snapshot ID pairs that encodes changes to the current
106106
/// snapshot for the table
107107
std::vector<SnapshotLogEntry> snapshot_log;
108108
/// A list of timestamp and metadata file location pairs that encodes changes to the
109109
/// previous metadata files for the table
110110
std::vector<MetadataLogEntry> metadata_log;
111111
/// A list of sort orders
112-
std::vector<std::shared_ptr<SortOrder>> sort_orders;
112+
std::vector<std::shared_ptr<iceberg::SortOrder>> sort_orders;
113113
/// Default sort order id of the table
114114
int32_t default_sort_order_id;
115115
/// A map of snapshot references
@@ -127,11 +127,11 @@ struct ICEBERG_EXPORT TableMetadata {
127127
Result<std::shared_ptr<iceberg::Schema>> SchemaById(
128128
const std::optional<int32_t>& schema_id) const;
129129
/// \brief Get the current partition spec, return NotFoundError if not found
130-
Result<std::shared_ptr<PartitionSpec>> PartitionSpec() const;
130+
Result<std::shared_ptr<iceberg::PartitionSpec>> PartitionSpec() const;
131131
/// \brief Get the current sort order, return NotFoundError if not found
132-
Result<std::shared_ptr<SortOrder>> SortOrder() const;
132+
Result<std::shared_ptr<iceberg::SortOrder>> SortOrder() const;
133133
/// \brief Get the current snapshot, return NotFoundError if not found
134-
Result<std::shared_ptr<Snapshot>> Snapshot() const;
134+
Result<std::shared_ptr<iceberg::Snapshot>> Snapshot() const;
135135
/// \brief Get the snapshot of this table with the given id
136136
Result<std::shared_ptr<iceberg::Snapshot>> SnapshotById(int64_t snapshot_id) const;
137137

0 commit comments

Comments
 (0)