Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Avoided warning of unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
trueqbit committed Mar 10, 2023
1 parent ccca01c commit fb5d51c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/table.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ namespace sqlite_orm {
constexpr size_t opIndex = first_index_sequence_value(generated_op_index_sequence{});
result = &get<opIndex>(column.constraints).storage;
});
#else
(void)name;
#endif
return result;
}
Expand Down
2 changes: 2 additions & 0 deletions include/sqlite_orm/sqlite_orm.h
Original file line number Diff line number Diff line change
Expand Up @@ -9765,6 +9765,8 @@ namespace sqlite_orm {
constexpr size_t opIndex = first_index_sequence_value(generated_op_index_sequence{});
result = &get<opIndex>(column.constraints).storage;
});
#else
(void)name;
#endif
return result;
}
Expand Down

0 comments on commit fb5d51c

Please sign in to comment.