Skip to content

Commit 13b5c9e

Browse files
committed
Fix foolish mistake in move ctor
1 parent acdc2b0 commit 13b5c9e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

hdr/sqlite_modern_cpp.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,7 @@ namespace sqlite {
120120
_db(std::move(other._db)),
121121
_sql(std::move(other._sql)),
122122
_stmt(std::move(other._stmt)),
123-
_inx(other._inx), execution_started(other.execution_started) {
124-
_db = nullptr;
125-
_stmt = nullptr;
126-
}
123+
_inx(other._inx), execution_started(other.execution_started) { }
127124

128125
void reset() {
129126
sqlite3_reset(_stmt.get());

0 commit comments

Comments
 (0)