We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0c0ce commit cc0ed49Copy full SHA for cc0ed49
1 file changed
gaggle/bindings/gaggle_extension.cpp
@@ -40,20 +40,9 @@ namespace duckdb {
40
using namespace gaggle;
41
namespace fs = std::filesystem;
42
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
50
-static T *GetFlatVectorDataWritable(Vector &vector, long) {
51
- return const_cast<T *>(FlatVector::GetData<T>(vector));
52
53
54
template <typename T>
55
static T *GetFlatVectorDataWritable(Vector &vector) {
56
- return GetFlatVectorDataWritable<T>(vector, 0);
+ return const_cast<T *>(FlatVector::GetData<T>(vector));
57
}
58
59
/**
0 commit comments