File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ set(ICEBERG_SOURCES
4545 type .cc
4646 manifest_reader.cc
4747 manifest_reader_internal.cc
48- arrow_struct_guard .cc
48+ arrow_c_data_guard_internal .cc
4949 util/murmurhash3_internal.cc
5050 util/timepoint.cc
5151 util/unreachable.cc
Original file line number Diff line number Diff line change 1717 * under the License.
1818 */
1919
20- #include " iceberg/arrow_struct_guard .h"
20+ #include " iceberg/arrow_c_data_guard_internal .h"
2121
2222namespace iceberg ::internal {
2323
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ namespace iceberg::internal {
2727
2828class ArrowArrayGuard {
2929 public:
30- ArrowArrayGuard (ArrowArray* array) : array_(array) {}
30+ explicit ArrowArrayGuard (ArrowArray* array) : array_(array) {}
3131 ~ArrowArrayGuard ();
3232
3333 private:
@@ -36,7 +36,7 @@ class ArrowArrayGuard {
3636
3737class ArrowSchemaGuard {
3838 public:
39- ArrowSchemaGuard (ArrowSchema* schema) : schema_(schema) {}
39+ explicit ArrowSchemaGuard (ArrowSchema* schema) : schema_(schema) {}
4040 ~ArrowSchemaGuard ();
4141
4242 private:
@@ -45,7 +45,7 @@ class ArrowSchemaGuard {
4545
4646class ArrowArrayViewGuard {
4747 public:
48- ArrowArrayViewGuard (ArrowArrayView* view) : view_(view) {}
48+ explicit ArrowArrayViewGuard (ArrowArrayView* view) : view_(view) {}
4949 ~ArrowArrayViewGuard ();
5050
5151 private:
@@ -54,7 +54,7 @@ class ArrowArrayViewGuard {
5454
5555class ArrowArrayBufferGuard {
5656 public:
57- ArrowArrayBufferGuard (ArrowBuffer* buffer) : buffer_(buffer) {}
57+ explicit ArrowArrayBufferGuard (ArrowBuffer* buffer) : buffer_(buffer) {}
5858 ~ArrowArrayBufferGuard ();
5959
6060 private:
Original file line number Diff line number Diff line change 2323
2424#include < nanoarrow/nanoarrow.h>
2525
26- #include " iceberg/arrow_struct_guard .h"
26+ #include " iceberg/arrow_c_data_guard_internal .h"
2727#include " iceberg/manifest_entry.h"
2828#include " iceberg/manifest_list.h"
2929#include " iceberg/schema.h"
You can’t perform that action at this time.
0 commit comments