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

Usa std::shared_ptr en lugar de punteros normales #11

Open
fmrico opened this issue Nov 15, 2018 · 1 comment
Open

Usa std::shared_ptr en lugar de punteros normales #11

fmrico opened this issue Nov 15, 2018 · 1 comment

Comments

@fmrico
Copy link
Owner

fmrico commented Nov 15, 2018

Usa punteros inteligentes en lugar de punteros normales para reservar dinámicamente memoria.

Ejemplo:
storm = new Storm(ipos, bearing, speed, rad, height);
sería
storm = std::shared_ptr(new Storm(ipos, bearing, speed, rad, height));

@rsousa95
Copy link

Yo me encargo de esta

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

2 participants