Skip to content

Commit

Permalink
fix record_type.
Browse files Browse the repository at this point in the history
  • Loading branch information
schaumb committed Mar 22, 2024
1 parent 8634552 commit 067c56a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/dataframe/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,14 @@ class dataframe_interface :
const dataframe_interface *parent;
record_identifier recordId;

auto operator<=>(const record_type &other) const = default;

auto get_dimensions() const
{
return std::ranges::transform_view{
parent->get_dimensions(),
[this](std::string_view dim)
[rec = *this](std::string_view dim)
-> std::pair<std::string_view, std::string_view>
{
auto &&cell = getValue(dim);
auto &&cell = rec.getValue(dim);
return {dim,
*std::get_if<std::string_view>(&cell)};
}};
Expand Down

0 comments on commit 067c56a

Please sign in to comment.