util/IntrusiveList: add enum LinkMode
Compile-time code simplification.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
template<typename T>
|
||||
class CancellablePointer
|
||||
: public IntrusiveListHook
|
||||
: public IntrusiveListHook<>
|
||||
{
|
||||
public:
|
||||
typedef T *pointer;
|
||||
|
||||
@@ -79,7 +79,7 @@ class UPnPDeviceDirectory final : UpnpCallback {
|
||||
};
|
||||
|
||||
class Downloader final
|
||||
: public IntrusiveListHook, CurlResponseHandler
|
||||
: public IntrusiveListHook<>, CurlResponseHandler
|
||||
{
|
||||
InjectEvent defer_start_event;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user