From e5cb0b191aed020da99757c117dae014ea65c6ba Mon Sep 17 00:00:00 2001 From: tsepez Date: Wed, 26 Oct 2016 15:06:11 -0700 Subject: Take advantage of implicit std::unique_ptr<>(nulltpr_t) ctor. Review-Url: https://codereview.chromium.org/2453163002 --- xfa/fgas/crt/fgas_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa') diff --git a/xfa/fgas/crt/fgas_memory.cpp b/xfa/fgas/crt/fgas_memory.cpp index c68241fcf1..0cccdc75b0 100644 --- a/xfa/fgas/crt/fgas_memory.cpp +++ b/xfa/fgas/crt/fgas_memory.cpp @@ -100,7 +100,7 @@ std::unique_ptr IFX_MemoryAllocator::Create( #endif // MEMORY_TOOL_REPLACES_ALLOCATOR default: ASSERT(0); - return std::unique_ptr(); + return nullptr; } } -- cgit v1.2.3