Skip to content

Commit e76afaa

Browse files
committed
Disable clang-tidy error message due to empty catch
1 parent c1fea70 commit e76afaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pgsql-capabilities.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void init_postgis_version(pg_conn_t const &db_connection)
103103
capabilities().postgis = {std::stoi(std::string{res.get(0, 0)}),
104104
std::stoi(std::string{res.get(1, 0)})};
105105
}
106-
} catch (...) {
106+
} catch (...) { // NOLINT(bugprone-empty-catch)
107107
// Fall through if std::stoi() fails in which case the version
108108
// is reported as 0.
109109
}

0 commit comments

Comments
 (0)