Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pgsql-capabilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void init_postgis_version(pg_conn_t const &db_connection)
capabilities().postgis = {std::stoi(std::string{res.get(0, 0)}),
std::stoi(std::string{res.get(1, 0)})};
}
} catch (...) {
} catch (...) { // NOLINT(bugprone-empty-catch)
// Fall through if std::stoi() fails in which case the version
// is reported as 0.
}
Expand Down
Loading