+/*
+ * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
#ifndef SQUID_IPC_IOFILE_H
#define SQUID_IPC_IOFILE_H
class IpcIoFile: public DiskFile
{
+ CBDATA_CLASS(IpcIoFile);
public:
typedef RefCount<IpcIoFile> Pointer;
static IpcIoFilesMap IpcIoFiles;
typedef Ipc::FewToFewBiQueue Queue;
- static std::auto_ptr<Queue> queue; ///< IPC queue
+ static std::unique_ptr<Queue> queue; ///< IPC queue
/// whether we are waiting for an event to handle still queued I/O requests
static bool DiskerHandleMoreRequestsScheduled;
-
- CBDATA_CLASS2(IpcIoFile);
};
/// keeps original I/O request parameters while disker is handling the request
};
#endif /* SQUID_IPC_IOFILE_H */
+