Skip to content

Commit 5cf2257

Browse files
committed
Attempt to fix GLib driver build issues
1 parent 2261056 commit 5cf2257

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

cpp/src/arrow/flight/sql/odbc/flight_sql/flight_sql_statement_get_columns.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18+
#pragma once
19+
1820
#include <optional>
1921
#include "arrow/array/builder_binary.h"
2022
#include "arrow/array/builder_primitive.h"

cpp/src/arrow/flight/sql/odbc/flight_sql/flight_sql_statement_get_type_info.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18+
#pragma once
19+
1820
#include <optional>
1921
#include "arrow/array/builder_binary.h"
2022
#include "arrow/array/builder_primitive.h"

cpp/src/arrow/flight/sql/odbc/flight_sql/utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ inline void ThrowIfNotOK(const arrow::Status& status) {
4141

4242
template <typename T, typename AttributeTypeT>
4343
inline bool CheckIfSetToOnlyValidValue(const AttributeTypeT& value, T allowed_value) {
44-
return boost::get<T>(value) == allowed_value;
44+
return ::boost::get<T>(value) == allowed_value;
4545
}
4646

4747
template <typename BUILDER, typename T>

0 commit comments

Comments
 (0)