From 4a92ac82a92bd9b904965077ad39d87a5a9b4e41 Mon Sep 17 00:00:00 2001 From: Philippe Canal Date: Sat, 5 Oct 2019 07:49:26 -0500 Subject: [PATCH] Don't use make_unique to be runnable in C++11 --- test/Prompt/ValuePrinter/Ptrs.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Prompt/ValuePrinter/Ptrs.C b/test/Prompt/ValuePrinter/Ptrs.C index c44aa6b2..a5efe7c4 100644 --- a/test/Prompt/ValuePrinter/Ptrs.C +++ b/test/Prompt/ValuePrinter/Ptrs.C @@ -24,7 +24,7 @@ std::shared_ptr i_sptr std::weak_ptr i_wptr //CHECK: (std::weak_ptr &) std::weak_ptr -> nullptr -i_uptr = std::make_unique(3) +i_uptr = std::unique_ptr(new int (3)) //CHECK: (std::unique_ptr &) std::unique_ptr -> 0x{{[0-9a-f]+}} i_uptr