Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
XanthosXanthopoulos committed Jan 2, 2025
1 parent f920bfe commit a7da4fa
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions libtiledbsoma/src/soma/soma_dimension.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,19 @@ class SOMADimension : public SOMAColumn {
return soma_column_datatype_t::SOMA_COLUMN_DIMENSION;
}

inline std::optional<tiledb_datatype_t> domain_type()
const override {
inline std::optional<tiledb_datatype_t> domain_type() const override {
return dimension.type();
}

inline std::optional<tiledb_datatype_t> data_type() const override {
return std::nullopt;
}

inline std::optional<std::vector<Dimension>> tiledb_dimensions()
override {
inline std::optional<std::vector<Dimension>> tiledb_dimensions() override {
return std::vector({dimension});
}

inline std::optional<std::vector<Attribute>> tiledb_attributes()
override {
inline std::optional<std::vector<Attribute>> tiledb_attributes() override {
return std::nullopt;
}

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit a7da4fa

Please sign in to comment.