summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2017-01-10 20:21:57 +0100
committerPeter Powell <petpow@saberuk.com>2017-11-13 16:38:30 +0000
commit451e687f681ccab5c02a8de1a7d59b324efbfe08 (patch)
treea748afd720e4e4c1ae2d6a8717022e4d18f43d3b /include
parent0fd2d50fcf1bcff107d6d185aad5d8e9245d4141 (diff)
Unite SSL service providers and SSL profile classes
Diffstat (limited to 'include')
-rw-r--r--include/iohook.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/iohook.h b/include/iohook.h
index e99316b99..9ca17d77e 100644
--- a/include/iohook.h
+++ b/include/iohook.h
@@ -21,7 +21,7 @@
class StreamSocket;
-class IOHookProvider : public ServiceProvider
+class IOHookProvider : public refcountbase, public ServiceProvider
{
const bool middlehook;
@@ -69,7 +69,7 @@ class IOHook : public classbase
/** The IOHookProvider for this hook, contains information about the hook,
* such as the module providing it and the hook type.
*/
- IOHookProvider* const prov;
+ reference<IOHookProvider> prov;
/** Constructor
* @param provider IOHookProvider that creates this object