Skip to content

Commit

Permalink
Remove Morphology friend from Soma
Browse files Browse the repository at this point in the history
  • Loading branch information
eleftherioszisis committed Dec 17, 2021
1 parent 3ba82b5 commit d820c4c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions include/morphio/soma.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,10 @@ class Soma
*/
floatType maxDistance() const;

private:
explicit Soma(const std::shared_ptr<Property::Properties>&);
// TODO: find out why the following line does not work
// when friend class Morphology; is removed
// template <typename Property>
// friend const morphio::Soma morphio::Morphology::soma() const;
friend class Morphology;
friend class mut::Soma;

private:
friend class mut::Soma;
std::shared_ptr<Property::Properties> _properties;
};

Expand Down

0 comments on commit d820c4c

Please sign in to comment.