cmExportSet: replace manual memory deallocation with std::unique_ptr
- Remove
cmDeleteAll
calls from the destructors ofcmExportSet
andcmExportSetMap
. - Optimize ownership semantics for
cmExportSetMap
.
Questions:
- Should the
std::unique_ptr<...> const&
be replaced withauto const&
outside the class definitions? - Is
cmExportSetMap
trivial enough to be moved intocmExportSet.{cxx,h}
?