mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Mark constructors explicit
This commit is contained in:
parent
aad829948a
commit
1c0c5d923a
@ -41,7 +41,7 @@ namespace smt
|
|||||||
class SMTLib2Interface: public SolverInterface, public boost::noncopyable
|
class SMTLib2Interface: public SolverInterface, public boost::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SMTLib2Interface(ReadCallback::Callback const& _queryCallback);
|
explicit SMTLib2Interface(ReadCallback::Callback const& _queryCallback);
|
||||||
|
|
||||||
void reset() override;
|
void reset() override;
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
class IPCSocket : public boost::noncopyable
|
class IPCSocket : public boost::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
IPCSocket(std::string const& _path);
|
explicit IPCSocket(std::string const& _path);
|
||||||
std::string sendRequest(std::string const& _req);
|
std::string sendRequest(std::string const& _req);
|
||||||
~IPCSocket() { CloseHandle(m_socket); }
|
~IPCSocket() { CloseHandle(m_socket); }
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ private:
|
|||||||
class IPCSocket: public boost::noncopyable
|
class IPCSocket: public boost::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
IPCSocket(std::string const& _path);
|
explicit IPCSocket(std::string const& _path);
|
||||||
std::string sendRequest(std::string const& _req);
|
std::string sendRequest(std::string const& _req);
|
||||||
~IPCSocket() { close(m_socket); }
|
~IPCSocket() { close(m_socket); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user