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 /test/RPCSession.h | |
parent | aad829948a7b21d7664a43c1127679b53ae40bdc (diff) | |
download | dexon-solidity-1c0c5d923a73cf3542ae41791aa7061922b9db5a.tar dexon-solidity-1c0c5d923a73cf3542ae41791aa7061922b9db5a.tar.gz dexon-solidity-1c0c5d923a73cf3542ae41791aa7061922b9db5a.tar.bz2 dexon-solidity-1c0c5d923a73cf3542ae41791aa7061922b9db5a.tar.lz dexon-solidity-1c0c5d923a73cf3542ae41791aa7061922b9db5a.tar.xz dexon-solidity-1c0c5d923a73cf3542ae41791aa7061922b9db5a.tar.zst dexon-solidity-1c0c5d923a73cf3542ae41791aa7061922b9db5a.zip |
Mark constructors explicit
Diffstat (limited to 'test/RPCSession.h')
-rw-r--r-- | test/RPCSession.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |