From 9eb00e57addf80fd0c8aca7d573b3075d26602cd Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Wed, 15 Jul 2015 16:44:59 +0200 Subject: Create make_unique function --- test/nbttest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/nbttest.cpp b/test/nbttest.cpp index 3e043f750b..3b72c102e5 100644 --- a/test/nbttest.cpp +++ b/test/nbttest.cpp @@ -163,7 +163,7 @@ void test_tag_compound() void test_value() { value val1; - value val2(std::unique_ptr(new tag_int(42))); + value val2(make_unique(42)); value val3(tag_int(42)); ASSERT(!val1 && val2 && val3); -- cgit 0.0.5-2-1-g0f52