Use boost::enable_shared_from_this, this should help with #199 and #205

Small change which will be useful later:

  1. to make the code faster #199
  2. and less error prone #205

It does not affect the memory footprint. It only means that the data which was previously exclusively used by the boost::shared_ptr (and also by boost::python) will be now accessible to us.

Edited by Janek Kozicki

Merge request reports

Loading