]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/CollapsedForwarding.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / CollapsedForwarding.h
index c21d430992fc96b494294720111ab952f0075750..3c6747881f1b9fddc2fa2959ac383499d321fdb9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * 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.
@@ -13,7 +13,6 @@
 
 #include "ipc/forward.h"
 #include "ipc/Queue.h"
-#include "typedefs.h"
 
 #include <memory>
 
@@ -40,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 */
+