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 3a12fb3 commit 049a43aCopy full SHA for 049a43a
tests/common-cleanup.hpp
@@ -26,7 +26,8 @@ namespace testing::cleanup {
26
class file_t
27
{
28
public:
29
- file_t(std::string const &filename, bool remove_on_construct = true)
+ explicit file_t(std::string const &filename,
30
+ bool remove_on_construct = true)
31
: m_filename(filename)
32
33
if (remove_on_construct) {
tests/common-pg.hpp
@@ -37,7 +37,7 @@ namespace testing::pg {
37
class conn_t : public pg_conn_t
38
39
40
- conn_t(connection_params_t const &connection_params)
+ explicit conn_t(connection_params_t const &connection_params)
41
: pg_conn_t(connection_params, "test")
42
43
}
0 commit comments