diff --git a/src/debug_utils.cc b/src/debug_utils.cc index 984c04eb2d381d..4553b642b65837 100644 --- a/src/debug_utils.cc +++ b/src/debug_utils.cc @@ -100,16 +100,14 @@ class PosixSymbolDebuggingContext final : public NativeSymbolDebuggingContext { std::unique_ptr NativeSymbolDebuggingContext::New() { - return std::unique_ptr( - new PosixSymbolDebuggingContext()); + return std::make_unique(); } #else // HAVE_EXECINFO_H std::unique_ptr NativeSymbolDebuggingContext::New() { - return std::unique_ptr( - new NativeSymbolDebuggingContext()); + return std::make_unique(); } #endif // HAVE_EXECINFO_H