Skip to content

Commit cc0ed49

Browse files
committed
WIP
1 parent ea0c0ce commit cc0ed49

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

gaggle/bindings/gaggle_extension.cpp

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,9 @@ namespace duckdb {
4040
using namespace gaggle;
4141
namespace fs = std::filesystem;
4242

43-
template <typename T>
44-
static auto GetFlatVectorDataWritable(Vector &vector, int)
45-
-> decltype(FlatVector::GetDataMutable<T>(vector)) {
46-
return FlatVector::GetDataMutable<T>(vector);
47-
}
48-
49-
template <typename T>
50-
static T *GetFlatVectorDataWritable(Vector &vector, long) {
51-
return const_cast<T *>(FlatVector::GetData<T>(vector));
52-
}
53-
5443
template <typename T>
5544
static T *GetFlatVectorDataWritable(Vector &vector) {
56-
return GetFlatVectorDataWritable<T>(vector, 0);
45+
return const_cast<T *>(FlatVector::GetData<T>(vector));
5746
}
5847

5948
/**

0 commit comments

Comments
 (0)