Skip to content

Commit c4c67d2

Browse files
authored
Update sqlite_orm.h
1 parent 3bfec01 commit c4c67d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/sqlite_orm/sqlite_orm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12399,7 +12399,7 @@ namespace sqlite_orm {
1239912399
auto &tImpl = this->get_impl<object_type>();
1240012400
sqlite3_reset(stmt);
1240112401
for(auto it = statement.t.range.first; it != statement.t.range.second; ++it) {
12402-
const auto &o = *it;
12402+
auto &o = *it;
1240312403
tImpl.table.for_each_column([&o, &index, &stmt, db](auto &c) {
1240412404
if(!c.template has<constraints::primary_key_t<>>()) {
1240512405
using column_type = typename std::decay<decltype(c)>::type;

0 commit comments

Comments
 (0)