From 3f8c4aa82fbe58a9c0dffdc1f7af0d43b1c04fd4 Mon Sep 17 00:00:00 2001 From: XanthosXanthopoulos Date: Mon, 25 Nov 2024 13:18:40 +0200 Subject: [PATCH] remove to_string calls [skip ci] --- libtiledbsoma/src/utils/arrow_adapter.cc | 16 ++++++++-------- libtiledbsoma/test/unit_soma_column.cc | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libtiledbsoma/src/utils/arrow_adapter.cc b/libtiledbsoma/src/utils/arrow_adapter.cc index ae0e5a7aef..eee0c0456e 100644 --- a/libtiledbsoma/src/utils/arrow_adapter.cc +++ b/libtiledbsoma/src/utils/arrow_adapter.cc @@ -949,8 +949,8 @@ void ArrowAdapter::_set_current_domain_slot( LOG_DEBUG(std::format( "[ArrowAdapter] {} current_domain float {} to {}", name, - std::to_string(lo), - std::to_string(hi))); + lo, + hi)); } break; case TILEDB_FLOAT64: { double lo = ((double*)buff)[3]; @@ -959,8 +959,8 @@ void ArrowAdapter::_set_current_domain_slot( LOG_DEBUG(std::format( "[ArrowAdapter] {} current_domain double {} to {}", name, - std::to_string(lo), - std::to_string(hi))); + lo, + hi)); } break; default: throw TileDBSOMAError(std::format( @@ -1701,8 +1701,8 @@ void ArrowAdapter::set_current_domain_slot( LOG_DEBUG(std::format( "[ArrowAdapter] {} current_domain float {} to {}", name, - std::to_string(lo), - std::to_string(hi))); + lo, + hi)); } break; case TILEDB_FLOAT64: { double lo = ((double*)buff)[3]; @@ -1711,8 +1711,8 @@ void ArrowAdapter::set_current_domain_slot( LOG_DEBUG(std::format( "[ArrowAdapter] {} current_domain double {} to {}", name, - std::to_string(lo), - std::to_string(hi))); + lo, + hi)); } break; default: throw TileDBSOMAError(std::format( diff --git a/libtiledbsoma/test/unit_soma_column.cc b/libtiledbsoma/test/unit_soma_column.cc index 3e33b51476..6d09d056d5 100644 --- a/libtiledbsoma/test/unit_soma_column.cc +++ b/libtiledbsoma/test/unit_soma_column.cc @@ -33,8 +33,8 @@ #include #include #include -#include "../src/soma/soma_column.h" #include "../src/soma/soma_attribute.h" +#include "../src/soma/soma_column.h" #include "../src/soma/soma_dimension.h" #include "../src/soma/soma_geometry_column.h" #include "common.h"