diff options
author | tsepez <tsepez@chromium.org> | 2016-10-26 15:06:11 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-26 15:06:11 -0700 |
commit | e5cb0b191aed020da99757c117dae014ea65c6ba (patch) | |
tree | 49f6f8124adbf24f94def640932adbf7e1460175 /xfa/fgas/crt/fgas_memory.cpp | |
parent | cd5f026e7b277ec73d53e149c7c48ee981547d1a (diff) | |
download | pdfium-e5cb0b191aed020da99757c117dae014ea65c6ba.tar.xz |
Take advantage of implicit std::unique_ptr<>(nulltpr_t) ctor.
Review-Url: https://codereview.chromium.org/2453163002
Diffstat (limited to 'xfa/fgas/crt/fgas_memory.cpp')
-rw-r--r-- | xfa/fgas/crt/fgas_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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> IFX_MemoryAllocator::Create( #endif // MEMORY_TOOL_REPLACES_ALLOCATOR default: ASSERT(0); - return std::unique_ptr<IFX_MemoryAllocator>(); + return nullptr; } } |