Skip to content

Commit

Permalink
πŸ› Fix for Stack::Resize capacity_
Browse files Browse the repository at this point in the history
  • Loading branch information
Yerannnnnn committed Aug 2, 2021
1 parent a9b2f9f commit 8a643ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/include/opentelemetry/context/runtime_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@ class ThreadLocalContextStorage : public RuntimeContextStorage
}
delete[] base_;
}
base_ = temp;
base_ = temp;
capacity_ = new_capacity;
}

~Stack() noexcept { delete[] base_; }
Expand Down

0 comments on commit 8a643ad

Please sign in to comment.