]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/CollapsedForwarding.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / CollapsedForwarding.h
index d023b12238439a15d3c6baec6c6d3c586bf3c27c..3c6747881f1b9fddc2fa2959ac383499d321fdb9 100644 (file)
@@ -1,14 +1,18 @@
 /*
- * DEBUG: section 17    Request Forwarding
+ * Copyright (C) 1996-2017 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.
  */
 
+/* DEBUG: section 17    Request Forwarding */
+
 #ifndef SQUID_COLLAPSED_FORWARDING_H
 #define SQUID_COLLAPSED_FORWARDING_H
 
 #include "ipc/forward.h"
 #include "ipc/Queue.h"
-#include "typedefs.h"
 
 #include <memory>
 
@@ -35,7 +39,8 @@ public:
 
 private:
     typedef Ipc::MultiQueue Queue;
-    static std::auto_ptr<Queue> queue; ///< IPC queue
+    static std::unique_ptr<Queue> queue; ///< IPC queue
 };
 
 #endif /* SQUID_COLLAPSED_FORWARDING_H */
+