Skip to content

Use smart pointers! #22

@shahzadlone

Description

@shahzadlone

This is a big one! Use RAII styled pointers (smart pointers) where ever necessary.

Get rid of raw pointers! Perhaps a good way to do this would be to find every where new and delete are called to hunt these down (also please use make_unique or '''make_sharedrather thannew``` ( this will be a separate patch I guess.)

Please use unique_ptr unless absolutely need to use shared_ptr.

#23

Metadata

Metadata

Assignees

No one assigned

    Labels

    C++11The second set of patchespatchIntended to be part of the patch series that makes up splinter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions