Skip to content

Commit

Permalink
fix counter initialisation in wkb_reader
Browse files Browse the repository at this point in the history
  • Loading branch information
lonvia committed Aug 12, 2017
1 parent 00fb250 commit da1086d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class table_t
}
private:
wkb_reader(pg_result_t &&result)
: m_result(std::move(result)), m_count(PQntuples(result.get())),
: m_result(std::move(result)), m_count(PQntuples(m_result.get())),
m_current(0)
{}

Expand Down

0 comments on commit da1086d

Please sign in to comment.