Skip to content

Commit fc7dcef

Browse files
committed
add anonymous namespace
1 parent 0b2a934 commit fc7dcef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/iceberg/table_metadata.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ Result<std::shared_ptr<SortOrder>> TableMetadata::SortOrder() const {
7676
return *iter;
7777
}
7878

79+
namespace {
80+
7981
template <typename T>
8082
bool SharedPtrVectorEquals(const std::vector<std::shared_ptr<T>>& lhs,
8183
const std::vector<std::shared_ptr<T>>& rhs) {
@@ -108,6 +110,8 @@ bool SnapshotRefEquals(
108110
return true;
109111
}
110112

113+
} // namespace
114+
111115
bool operator==(const TableMetadata& lhs, const TableMetadata& rhs) {
112116
return lhs.format_version == rhs.format_version && lhs.table_uuid == rhs.table_uuid &&
113117
lhs.location == rhs.location &&

0 commit comments

Comments
 (0)