diff --git a/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/arrow_util.h b/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/arrow_util.h index 2c42c5d43f7..7b77f0fef15 100644 --- a/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/arrow_util.h +++ b/cpp-client/deephaven/dhclient/include/public/deephaven/client/utility/arrow_util.h @@ -15,6 +15,13 @@ namespace deephaven::client::utility { arrow::flight::FlightDescriptor ConvertTicketToFlightDescriptor(const std::string &ticket); +/** + * If status is OK, do nothing. Otherwise throw a runtime error with an informative message. + * @param debug_info A DebugInfo object, typically as provided by DEEPHAVEN_LOCATION_EXPR. + * @param status the arrow::Status + */ +void OkOrThrow(const deephaven::dhcore::utility::DebugInfo &debug_info, const arrow::Status &status); + /** * If result's status is OK, do nothing. Otherwise throw a runtime error with an informative message. * @param debug_info A DebugInfo object, typically as provided by DEEPHAVEN_LOCATION_EXPR. @@ -25,13 +32,6 @@ void OkOrThrow(const deephaven::dhcore::utility::DebugInfo &debug_info, const ar OkOrThrow(debug_info, result.status()); } -/** - * If status is OK, do nothing. Otherwise throw a runtime error with an informative message. - * @param debug_info A DebugInfo object, typically as provided by DEEPHAVEN_LOCATION_EXPR. - * @param status the arrow::Status - */ -void OkOrThrow(const deephaven::dhcore::utility::DebugInfo &debug_info, const arrow::Status &status); - /** * If result's internal status is OK, return result's contained value. * Otherwise throw a runtime error with an informative message. diff --git a/cpp-client/deephaven/dhclient/src/utility/arrow_util.cc b/cpp-client/deephaven/dhclient/src/utility/arrow_util.cc index e7c6ceeec30..70ed283164b 100644 --- a/cpp-client/deephaven/dhclient/src/utility/arrow_util.cc +++ b/cpp-client/deephaven/dhclient/src/utility/arrow_util.cc @@ -10,8 +10,6 @@ #include #include "deephaven/dhcore/utility/utility.h" -using namespace std; - namespace deephaven::client::utility { void OkOrThrow(const deephaven::dhcore::utility::DebugInfo &debug_info, const arrow::Status &status) {