Skip to content

Commit

Permalink
rev: rm reinitialization in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
program-- authored and mattw-nws committed Jul 18, 2023
1 parent 0cbdc88 commit 70287e3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/geopackage/sqlite/iterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ sqlite_iter::sqlite_iter(stmt_t stmt)
// was SQLITE_DONE.
this->next();
this->column_count = sqlite3_column_count(this->ptr());
this->column_names = std::vector<std::string>();
this->column_names.reserve(this->column_count);
this->column_types = std::vector<int>();
this->column_types.reserve(this->column_count);

for (int i = 0; i < this->column_count; i++) {
Expand Down

0 comments on commit 70287e3

Please sign in to comment.