mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-24 00:04:58 +01:00
Remove usages of make_unique
Building fails for some people because configure requires c++11 but make_unique is a c++14 feature. Change-Id: I23ce689fc92e9e90a95e7643ff29602f6b32ccbb Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3107784 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
524a6249f0
commit
4959def222
2 changed files with 4 additions and 4 deletions
|
|
@ -258,7 +258,7 @@ int BasicSourceLineResolver::Module::ConstructInlineFrames(
|
|||
new_frame.trust = StackFrame::FRAME_TRUST_INLINE;
|
||||
// Must add frames before calling ConstructInlineFrames to get correct order.
|
||||
int current_idx = inlined_frames->size();
|
||||
inlined_frames->push_back(std::make_unique<StackFrame>(new_frame));
|
||||
inlined_frames->push_back(unique_ptr<StackFrame>(new StackFrame(new_frame)));
|
||||
int source_line = ConstructInlineFrames(&new_frame, address,
|
||||
in->child_inlines, inlined_frames);
|
||||
if (source_line != -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue