File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,10 @@ namespace sqlite_orm::internal {
13
13
14
14
template <class Tpl >
15
15
struct tuple_from_values {
16
- SQLITE_ORM_STATIC_CALLOP Tpl operator ()(sqlite3_value** values, int nValues) SQLITE_ORM_OR_CONST_CALLOP {
16
+ SQLITE_ORM_STATIC_CALLOP Tpl operator ()(sqlite3_value** values,
17
+ [[maybe_unused]] int nValues) SQLITE_ORM_OR_CONST_CALLOP {
17
18
#ifdef SQLITE_ORM_CONTRACTS_SUPPORTED
18
19
contract_assert (nValues == std::tuple_size<Tpl>::value);
19
- #else
20
- (void )nValues;
21
20
#endif
22
21
return tuple_from_values::create_from (values, std::make_index_sequence<std::tuple_size<Tpl>::value>{});
23
22
}
Original file line number Diff line number Diff line change @@ -17858,11 +17858,10 @@ namespace sqlite_orm::internal {
17858
17858
17859
17859
template<class Tpl>
17860
17860
struct tuple_from_values {
17861
- SQLITE_ORM_STATIC_CALLOP Tpl operator()(sqlite3_value** values, int nValues) SQLITE_ORM_OR_CONST_CALLOP {
17861
+ SQLITE_ORM_STATIC_CALLOP Tpl operator()(sqlite3_value** values,
17862
+ [[maybe_unused]] int nValues) SQLITE_ORM_OR_CONST_CALLOP {
17862
17863
#ifdef SQLITE_ORM_CONTRACTS_SUPPORTED
17863
17864
contract_assert(nValues == std::tuple_size<Tpl>::value);
17864
- #else
17865
- (void)nValues;
17866
17865
#endif
17867
17866
return tuple_from_values::create_from(values, std::make_index_sequence<std::tuple_size<Tpl>::value>{});
17868
17867
}
You can’t perform that action at this time.
0 commit comments