mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
made c'tor explicit; disallow copy and assign
This commit is contained in:
parent
85b283c1e3
commit
afb9c528e7
@ -21,8 +21,10 @@ namespace
|
|||||||
|
|
||||||
class ClientProtocolFixture
|
class ClientProtocolFixture
|
||||||
{
|
{
|
||||||
|
ClientProtocolFixture(ClientProtocolFixture const &) = delete;
|
||||||
|
ClientProtocolFixture& operator=(ClientProtocolFixture const &) = delete;
|
||||||
public:
|
public:
|
||||||
ClientProtocolFixture(IProviderClient& client)
|
explicit ClientProtocolFixture(IProviderClient& client)
|
||||||
{
|
{
|
||||||
config = wfp_client_config_create();
|
config = wfp_client_config_create();
|
||||||
client.AttachTo(config);
|
client.AttachTo(config);
|
||||||
|
Loading…
Reference in New Issue
Block a user