Skip to content

Commit ca53690

Browse files
committed
Disable another clang-tidy warning
1 parent bb65790 commit ca53690

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/common-pg.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ class tempdb_t
132132
tempdb_t(tempdb_t &&) = delete;
133133
tempdb_t &operator=(tempdb_t const &&) = delete;
134134

135+
// We want to terminate the program if there is an exception thrown inside
136+
// the destructor.
137+
// NOLINTNEXTLINE(bugprone-exception-escape)
135138
~tempdb_t() noexcept
136139
{
137140
if (m_db_name.empty()) {

0 commit comments

Comments
 (0)