Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[INSTR] Move vector* to shared_ptr<vector>.
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 13 Mar 2018 17:19:21 +0000 (18:19 +0100)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Wed, 28 Mar 2018 15:31:39 +0000 (17:31 +0200)
By initializing an object, for instance of type VarCollTIData,
the vectors containing receive and send counts were deleted
when the TI object was deleted. This is unexpected by a 'normal'
user - by accepting shared_ptrs, this can be ameliorated.

The constructor that still accepts vector* should be removed once
all initializations use the constructor accepting the shared_ptr.


No differences found