Skip to content

Commit 1ee0a86

Browse files
authored
Merge pull request #681 from fnc12/revert-680-patch-1
Revert "Use constant references when iterating over ranges in replace_range"
2 parents 78d8fa7 + f7b7c9a commit 1ee0a86

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
@@ -12358,7 +12358,7 @@ namespace sqlite_orm {
1235812358
auto stmt = statement.stmt;
1235912359
sqlite3_reset(stmt);
1236012360
for(auto it = statement.t.range.first; it != statement.t.range.second; ++it) {
12361-
const auto &o = *it;
12361+
auto &o = *it;
1236212362
tImpl.table.for_each_column([&o, &index, &stmt, db](auto &c) {
1236312363
using column_type = typename std::decay<decltype(c)>::type;
1236412364
using field_type = typename column_type::field_type;

0 commit comments

Comments
 (0)