File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
cpp/src/arrow/flight/sql/odbc/odbc_impl Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1717
1818#pragma once
1919
20- #include " arrow/util/utf8.h"
21-
2220#include < boost/variant.hpp>
2321#include < boost/xpressive/xpressive.hpp>
2422
3836 return res.ValueOrDie (); \
3937 }()
4038
41- #define CONVERT_UTF8_STR (string_var, wide_str_target ) \
42- string_var = [&] { \
43- arrow::Result<std::string> res = arrow::util::WideStringToUTF8 (wide_str_target); \
44- arrow::flight::sql::odbc::util::ThrowIfNotOK (res.status ()); \
45- return res.ValueOrDie (); \
39+ #define CONVERT_UTF8_STR (string_var, wide_str_target ) \
40+ string_var = [&] { \
41+ arrow::Result<std::string> res = arrow::util::WideStringToUTF8 (wide_str_target); \
42+ arrow::flight::sql::odbc::util::ThrowIfNotOK (res.status ()); \
43+ return res.ValueOrDie (); \
4644 }()
4745
4846#define CONVERT_WIDE_STR (wstring_var, utf8_target ) \
You can’t perform that action at this time.
0 commit comments