Skip to content

Commit 705c4ea

Browse files
author
xiao.dong
committed
rename to internal
1 parent f74159f commit 705c4ea

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/iceberg/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/iceberg/arrow_struct_guard.cc renamed to src/iceberg/arrow_c_data_guard_internal.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919

20-
#include "iceberg/arrow_struct_guard.h"
20+
#include "iceberg/arrow_c_data_guard_internal.h"
2121

2222
namespace iceberg::internal {
2323

src/iceberg/arrow_struct_guard.h renamed to src/iceberg/arrow_c_data_guard_internal.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace iceberg::internal {
2727

2828
class 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

3737
class 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

4646
class 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

5555
class ArrowArrayBufferGuard {
5656
public:
57-
ArrowArrayBufferGuard(ArrowBuffer* buffer) : buffer_(buffer) {}
57+
explicit ArrowArrayBufferGuard(ArrowBuffer* buffer) : buffer_(buffer) {}
5858
~ArrowArrayBufferGuard();
5959

6060
private:

src/iceberg/manifest_reader_internal.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
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"

0 commit comments

Comments
 (0)