Skip to content
Commit d3934be5 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Prefer std::make_unique over std::unique_ptr(new T)

This way code is thinner and it is guaranteed that no memory leaks will
occur if an exception gets thrown for some reason.
parent faa06ea9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment