File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ class ColumnMapT : public ColumnMap {
126126 : data_iterator_(data_iterator) {}
127127
128128 using ValueType = std::pair<Key, Value>;
129+ using value_type = ValueType;
129130
130131 inline auto operator *() const {
131132 auto tuple = *data_iterator_;
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ class ColumnTupleT : public ColumnTuple {
119119
120120private:
121121 template <typename T, size_t index = std::tuple_size_v<T>>
122- inline static std::vector<ColumnRef> TupleToVector (const T& value) {
122+ inline static std::vector<ColumnRef> TupleToVector ([[maybe_unused]] const T& value) {
123123 static_assert (index <= std::tuple_size_v<T>);
124124 if constexpr (index == 0 ) {
125125 std::vector<ColumnRef> result;
@@ -133,7 +133,7 @@ class ColumnTupleT : public ColumnTuple {
133133 }
134134
135135 template <typename T, size_t column_index = std::tuple_size_v<TupleOfColumns>>
136- inline static auto VectorToTuple (T columns) {
136+ inline static auto VectorToTuple ([[maybe_unused]] T columns) {
137137 static_assert (column_index <= std::tuple_size_v<TupleOfColumns>);
138138 if constexpr (column_index == 0 ) {
139139 return std::make_tuple ();
@@ -147,7 +147,7 @@ class ColumnTupleT : public ColumnTuple {
147147 }
148148
149149 template <size_t column_index = std::tuple_size_v<TupleOfColumns>>
150- inline auto GetTupleOfValues (size_t index) const {
150+ inline auto GetTupleOfValues ([[maybe_unused]] size_t index) const {
151151 static_assert (column_index <= std::tuple_size_v<TupleOfColumns>);
152152 if constexpr (column_index == 0 ) {
153153 return std::make_tuple ();
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ inline const char * getPrefix() {
7777}
7878
7979template <typename T, size_t index = std::tuple_size_v<T> >
80- inline std::ostream & printTuple (std::ostream & ostr, const T & t) {
80+ inline std::ostream & printTuple (std::ostream & ostr, [[maybe_unused]] const T & t) {
8181 static_assert (index <= std::tuple_size_v<T>);
8282 if constexpr (index == 0 ) {
8383 return ostr << " ( " ;
You can’t perform that action at this time.
0 commit comments