Skip to content

Commit 067c56a

Browse files
committed
fix record_type.
1 parent 8634552 commit 067c56a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/dataframe/interface.h

+2-4
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,14 @@ class dataframe_interface :
9696
const dataframe_interface *parent;
9797
record_identifier recordId;
9898

99-
auto operator<=>(const record_type &other) const = default;
100-
10199
auto get_dimensions() const
102100
{
103101
return std::ranges::transform_view{
104102
parent->get_dimensions(),
105-
[this](std::string_view dim)
103+
[rec = *this](std::string_view dim)
106104
-> std::pair<std::string_view, std::string_view>
107105
{
108-
auto &&cell = getValue(dim);
106+
auto &&cell = rec.getValue(dim);
109107
return {dim,
110108
*std::get_if<std::string_view>(&cell)};
111109
}};

0 commit comments

Comments
 (0)