aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libsolidity/formal/SMTLib2Interface.h2
-rw-r--r--test/RPCSession.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/formal/SMTLib2Interface.h b/libsolidity/formal/SMTLib2Interface.h
index b8dac366..63188acd 100644
--- a/libsolidity/formal/SMTLib2Interface.h
+++ b/libsolidity/formal/SMTLib2Interface.h
@@ -41,7 +41,7 @@ namespace smt
class SMTLib2Interface: public SolverInterface, public boost::noncopyable
{
public:
- SMTLib2Interface(ReadCallback::Callback const& _queryCallback);
+ explicit SMTLib2Interface(ReadCallback::Callback const& _queryCallback);
void reset() override;
diff --git a/test/RPCSession.h b/test/RPCSession.h
index 24bed7b1..eae6a09c 100644
--- a/test/RPCSession.h
+++ b/test/RPCSession.h
@@ -40,7 +40,7 @@
class IPCSocket : public boost::noncopyable
{
public:
- IPCSocket(std::string const& _path);
+ explicit IPCSocket(std::string const& _path);
std::string sendRequest(std::string const& _req);
~IPCSocket() { CloseHandle(m_socket); }
@@ -55,7 +55,7 @@ private:
class IPCSocket: public boost::noncopyable
{
public:
- IPCSocket(std::string const& _path);
+ explicit IPCSocket(std::string const& _path);
std::string sendRequest(std::string const& _req);
~IPCSocket() { close(m_socket); }