• Simon Morlat's avatar
    remove some memory leaks · 7d2da0ca
    Simon Morlat authored
    use make_shared<>() instead of shared_ptr<T>(new T), because it allocates one memory block instead of two for the latter case.
    7d2da0ca