Skip to content

Commit

Permalink
πŸ› Fix for Stack::Resize capacity_ (#934)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yerannnnnn authored Aug 3, 2021
1 parent d6c187c commit 3a3bf25
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 3a3bf25

Please sign in to comment.