mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
fix: made some c'tors explicit
This commit is contained in:
parent
82fb5c53bf
commit
1f7a3f4bc9
@ -77,7 +77,7 @@ namespace webfuse_test
|
||||
class FakeAdapterServer::Private: public IServer
|
||||
{
|
||||
public:
|
||||
Private(int port)
|
||||
explicit Private(int port)
|
||||
: client_wsi(nullptr)
|
||||
, message_received(false)
|
||||
{
|
||||
|
@ -11,7 +11,7 @@ class FakeAdapterServer
|
||||
FakeAdapterServer(FakeAdapterServer const &) = delete;
|
||||
FakeAdapterServer & operator=(FakeAdapterServer const &) = delete;
|
||||
public:
|
||||
FakeAdapterServer(int port);
|
||||
explicit FakeAdapterServer(int port);
|
||||
~FakeAdapterServer();
|
||||
void waitForConnection();
|
||||
private:
|
||||
|
@ -11,7 +11,7 @@ class TimeoutWatcher final
|
||||
TimeoutWatcher(TimeoutWatcher const & other) = delete;
|
||||
TimeoutWatcher& operator=(TimeoutWatcher const & other) = delete;
|
||||
public:
|
||||
TimeoutWatcher(std::chrono::milliseconds timeout);
|
||||
explicit TimeoutWatcher(std::chrono::milliseconds timeout);
|
||||
~TimeoutWatcher();
|
||||
bool isTimeout();
|
||||
void check();
|
||||
|
Loading…
Reference in New Issue
Block a user