Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler Error C2280 with std::dynamic_pointer_cast (/GR-) #594

Open
tvinhkhai opened this issue Sep 28, 2022 · 0 comments
Open

Compiler Error C2280 with std::dynamic_pointer_cast (/GR-) #594

tvinhkhai opened this issue Sep 28, 2022 · 0 comments

Comments

@tvinhkhai
Copy link

tvinhkhai commented Sep 28, 2022

Hello,

I encounter compiler error C2280 when trying compiling with /GR- (need to change it to /GR).
Severity Code Description Project File Line Suppression State
Error C2280 'std::shared_ptr<_Ty> std::dynamic_pointer_cast<... &&) noexcept': attempting to reference a deleted function

The issue is std::dynamic_pointer_cast need /GR, could you please advise me if all std::dynamic_pointer_cast could be removed (they seems to cast to the same class or base class)?
TBH, I don't understand why do we need std::dynamic_pointer_cast...

Best Regards,
Khai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant