File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -68,20 +68,12 @@ namespace vapid {
68
68
sort_order_reference_.push_back (size () - 1 );
69
69
}
70
70
71
- auto get_row (size_t row) const {
72
- return get_row_impl (std::index_sequence_for<Ts...>{}, row);
73
- }
74
-
75
- auto get_row (size_t row) {
76
- return get_row_impl (std::index_sequence_for<Ts...>{}, row);
77
- }
78
-
79
71
auto operator [](size_t idx) const {
80
- return get_row ( idx);
72
+ return get_row_impl (std::index_sequence_for<Ts...>{}, idx);
81
73
}
82
74
83
75
auto operator [](size_t idx) {
84
- return get_row ( idx);
76
+ return get_row_impl (std::index_sequence_for<Ts...>{}, idx);
85
77
}
86
78
87
79
template <size_t ... I>
@@ -136,7 +128,7 @@ namespace vapid {
136
128
}
137
129
ss << " soa {\n " ;
138
130
for (size_t i = 0 ; i < num_elements_to_print; ++i) {
139
- const auto t = get_row (i);
131
+ const auto t = operator [] (i);
140
132
ss << " \t " ;
141
133
dump_tuple (ss, t);
142
134
ss << std::endl;
You can’t perform that action at this time.
0 commit comments