From a7da4fa958ad03bf0928194d5218a927cee046aa Mon Sep 17 00:00:00 2001 From: XanthosXanthopoulos Date: Thu, 2 Jan 2025 13:07:29 +0200 Subject: [PATCH] lint fixes --- libtiledbsoma/src/soma/soma_dimension.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/libtiledbsoma/src/soma/soma_dimension.h b/libtiledbsoma/src/soma/soma_dimension.h index 44f55347bc..b556476bc2 100644 --- a/libtiledbsoma/src/soma/soma_dimension.h +++ b/libtiledbsoma/src/soma/soma_dimension.h @@ -78,8 +78,7 @@ class SOMADimension : public SOMAColumn { return soma_column_datatype_t::SOMA_COLUMN_DIMENSION; } - inline std::optional domain_type() - const override { + inline std::optional domain_type() const override { return dimension.type(); } @@ -87,13 +86,11 @@ class SOMADimension : public SOMAColumn { return std::nullopt; } - inline std::optional> tiledb_dimensions() - override { + inline std::optional> tiledb_dimensions() override { return std::vector({dimension}); } - inline std::optional> tiledb_attributes() - override { + inline std::optional> tiledb_attributes() override { return std::nullopt; } @@ -136,8 +133,7 @@ class SOMADimension : public SOMAColumn { std::any _core_current_domain_slot( const SOMAContext& ctx, Array& array) const override; - std::any _core_current_domain_slot( - NDRectangle& ndrect) const override; + std::any _core_current_domain_slot(NDRectangle& ndrect) const override; private: Dimension dimension;