diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/nbttest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<tag>(new tag_int(42))); + value val2(make_unique<tag_int>(42)); value val3(tag_int(42)); ASSERT(!val1 && val2 && val3); |
