Update github.com git:// SRC_URIs
[AGL/meta-agl.git] / meta-app-framework / recipes-security / security-manager / security-manager / 0005-c-11-replace-deprecated-auto_ptr.patch
1 From 198ba9b9782fda19803e94d2afeff91189ac27af Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Jos=C3=A9=20Bollo?= <jobol@nonadev.net>
3 Date: Wed, 13 Jan 2016 17:30:06 +0100
4 Subject: [PATCH 05/14] c++11: replace deprecated auto_ptr
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Upstream-Status: Submitted [https://review.tizen.org/gerrit/#/c/56940/]
10
11 Change-Id: Id793c784c9674eef48f346226c094bdd9f7bbda8
12 Signed-off-by: José Bollo <jobol@nonadev.net>
13 ---
14  src/dpl/core/include/dpl/binary_queue.h | 2 +-
15  1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/src/dpl/core/include/dpl/binary_queue.h b/src/dpl/core/include/dpl/binary_queue.h
18 index dd03f5e..185b6c7 100644
19 --- a/src/dpl/core/include/dpl/binary_queue.h
20 +++ b/src/dpl/core/include/dpl/binary_queue.h
21 @@ -33,7 +33,7 @@ namespace SecurityManager {
22   * Binary queue auto pointer
23   */
24  class BinaryQueue;
25 -typedef std::auto_ptr<BinaryQueue> BinaryQueueAutoPtr;
26 +typedef std::unique_ptr<BinaryQueue> BinaryQueueAutoPtr;
27  
28  /**
29   * Binary stream implemented as constant size bucket list
30 -- 
31 2.21.0
32