Skip to content

Commit e46aedc

Browse files
committed
Fix lint issues
1 parent 2c6d590 commit e46aedc

File tree

1 file changed

+5
-7
lines changed
  • cpp/src/arrow/flight/sql/odbc/odbc_impl

1 file changed

+5
-7
lines changed

cpp/src/arrow/flight/sql/odbc/odbc_impl/util.h

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
#pragma once
1919

20-
#include "arrow/util/utf8.h"
21-
2220
#include <boost/variant.hpp>
2321
#include <boost/xpressive/xpressive.hpp>
2422

@@ -38,11 +36,11 @@
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) \

0 commit comments

Comments
 (0)