Fix type mismatch when move nostd::shared_ptr#1815
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1815 +/- ##
=======================================
Coverage 85.73% 85.73%
=======================================
Files 171 171
Lines 5240 5240
=======================================
Hits 4492 4492
Misses 748 748
|
Signed-off-by: owent <admin@owent.net>
Signed-off-by: owent <admin@owent.net>
lalitb
left a comment
There was a problem hiding this comment.
LGTM. Validated the changes, there is no crash with the fix. Thanks.
marcalff
left a comment
There was a problem hiding this comment.
Thanks for the fix.
I don't even understand the original std::shared_ptr code in the first place,
and the fix even less.
Some explanations would be welcome, to understand what is going on here.
If we move a nostd::shared_ptr of derived class to a nostd::shared_ptr of base class,we will use the constructor of |
Signed-off-by: owent admin@owent.net
Fixes #1806
Changes
Fix type mismatch when move
nostd::shared_ptr.