Skip to content

Commit 0db44fc

Browse files
committed
Fix incorrect template parameters
1 parent 0f3cdee commit 0db44fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/sqlgen/select_from.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ struct SelectFrom {
268268
static_assert(std::is_same_v<LimitType, Nothing>,
269269
"You cannot call limit twice.");
270270
return SelectFrom<TableOrQueryType, AliasType, FieldsType, JoinsType,
271-
WhereType, GroupByType, OrderByType, Limit, Offset, ToType>{
271+
WhereType, GroupByType, OrderByType, LimitType, OffsetType, ToType>{
272272
.fields_ = _s.fields_,
273273
.from_ = _s.from_,
274274
.joins_ = _s.joins_,
@@ -281,7 +281,7 @@ struct SelectFrom {
281281
static_assert(std::is_same_v<OffsetType, Nothing>,
282282
"You cannot call offset twice.");
283283
return SelectFrom<TableOrQueryType, AliasType, FieldsType, JoinsType,
284-
WhereType, GroupByType, OrderByType, Limit, Offset, ToType>{
284+
WhereType, GroupByType, OrderByType, LimitType, OffsetType, ToType>{
285285
.fields_ = _s.fields_,
286286
.from_ = _s.from_,
287287
.joins_ = _s.joins_,

0 commit comments

Comments
 (0)