Question #684115 on Yade changed:
https://answers.launchpad.net/yade/+question/684115

Robert Caulk posted a new comment:
Ah we worked on this at the same time, Jan ;-).

About this piece:

const shared_ptr<FrictPhys>& contactPhysics

According to stack overflow, a const shared_ptr<FrictPhys> contactPhys
(sans &), would mean that contactPhysics is constant [1]. So I am
guessing we can only modify it because we are taking it as a reference
too. Maybe you can clarify this?

[1]https://stackoverflow.com/questions/17793333/difference-between-
const-shared-ptrt-and-shared-ptrconst-t

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to