Skip to content

Commit

Permalink
Update sqlite_orm.h
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-datcu authored Mar 15, 2021
1 parent 3bfec01 commit c4c67d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sqlite_orm/sqlite_orm.h
Original file line number Diff line number Diff line change
Expand Up @@ -12399,7 +12399,7 @@ namespace sqlite_orm {
auto &tImpl = this->get_impl<object_type>();
sqlite3_reset(stmt);
for(auto it = statement.t.range.first; it != statement.t.range.second; ++it) {
const auto &o = *it;
auto &o = *it;
tImpl.table.for_each_column([&o, &index, &stmt, db](auto &c) {
if(!c.template has<constraints::primary_key_t<>>()) {
using column_type = typename std::decay<decltype(c)>::type;
Expand Down

0 comments on commit c4c67d2

Please sign in to comment.