From 3af09c928b58fa50472f735df8cfdffb9008f2c0 Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Thu, 18 Jan 2024 23:22:01 -0500 Subject: [PATCH] Cleanup Includes --- pantab/src/pantab.cpp | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/pantab/src/pantab.cpp b/pantab/src/pantab.cpp index ccfd175a..47af5f7a 100644 --- a/pantab/src/pantab.cpp +++ b/pantab/src/pantab.cpp @@ -1,10 +1,5 @@ #include -#include -#include -#include -#include #include -#include #include #include @@ -12,15 +7,11 @@ #include #include #include -#include #include -#include #include #include -#include -#include "nanoarrow/nanoarrow.h" -#include "nanoarrow/nanoarrow_types.h" +#include "datetime.h" #include "numpy_datetime.h" namespace nb = nanobind; @@ -511,10 +502,10 @@ class StringReadHelper : public ReadHelper { } const auto strval = value.get(); - const ArrowStringView string_view{strval.c_str(), - static_cast(strval.size())}; + const ArrowStringView arrow_string_view{ + strval.c_str(), static_cast(strval.size())}; - if (ArrowArrayAppendString(array_, string_view)) { + if (ArrowArrayAppendString(array_, arrow_string_view)) { throw std::runtime_error("ArrowAppendString failed"); }; }