1
0
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:
Falk Werner 2020-02-24 18:25:25 +01:00
parent 85b283c1e3
commit afb9c528e7

View File

@ -21,8 +21,10 @@ namespace
class ClientProtocolFixture
{
ClientProtocolFixture(ClientProtocolFixture const &) = delete;
ClientProtocolFixture& operator=(ClientProtocolFixture const &) = delete;
public:
ClientProtocolFixture(IProviderClient& client)
explicit ClientProtocolFixture(IProviderClient& client)
{
config = wfp_client_config_create();
client.AttachTo(config);