We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb65790 commit ca53690Copy full SHA for ca53690
1 file changed
tests/common-pg.hpp
@@ -132,6 +132,9 @@ class tempdb_t
132
tempdb_t(tempdb_t &&) = delete;
133
tempdb_t &operator=(tempdb_t const &&) = delete;
134
135
+ // We want to terminate the program if there is an exception thrown inside
136
+ // the destructor.
137
+ // NOLINTNEXTLINE(bugprone-exception-escape)
138
~tempdb_t() noexcept
139
{
140
if (m_db_name.empty()) {
0 commit comments