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 c8f9ecd commit cd5821fCopy full SHA for cd5821f
include/serialize_null_array.hpp
@@ -6,7 +6,6 @@
6
#include <optional>
7
#include <stdexcept>
8
#include <string>
9
-#include <string_view>
10
#include <vector>
11
12
#include "sparrow.hpp"
@@ -177,10 +176,10 @@ namespace sparrow_ipc
177
176
throw std::runtime_error("Expected Null type in schema.");
178
}
179
180
- std::optional<std::string_view> name;
+ std::optional<std::string> name;
181
if (auto fb_name = field->name())
182
{
183
- name = std::string_view(fb_name->c_str(), fb_name->size());
+ name = std::string(fb_name->c_str(), fb_name->size());
184
185
186
// std::optional<sparrow::key_value_metadata> metadata;
0 commit comments