diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-31 05:43:01 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-09-20 08:23:21 +0800 |
commit | 1c0c5d923a73cf3542ae41791aa7061922b9db5a (patch) | |
tree | 9640cf2598b0424ab4571c21655586c39816648a | |
parent | aad829948a7b21d7664a43c1127679b53ae40bdc (diff) | |
download | dexon-solidity-1c0c5d923a73cf3542ae41791aa7061922b9db5a.tar.gz dexon-solidity-1c0c5d923a73cf3542ae41791aa7061922b9db5a.tar.zst dexon-solidity-1c0c5d923a73cf3542ae41791aa7061922b9db5a.zip |
Mark constructors explicit
-rw-r--r-- | libsolidity/formal/SMTLib2Interface.h | 2 | ||||
-rw-r--r-- | test/RPCSession.h | 4 |
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); } |