| # | Line 253 | Line 253 | RigidBody* MoleculeCreator::createRigidBody(MoleculeSt | |
|---|---|---|
| 253 | //The third part is the index of the rigidbody defined in meta-data file | |
| 254 | //For example, Butane_RB_0 is a valid rigid body name of butane molecule | |
| 255 | /**@todo replace itoa by lexi_cast */ | |
| 256 | < | rb->setType(mol->getType() + "_RB_" + toString(mol->getNRigidBodies())); |
| 257 | < | |
| 256 | > | std::string s = OOPSE_itoa(mol->getNRigidBodies(), 10); |
| 257 | > | rb->setType(mol->getType() + "_RB_" + s.c_str()); |
| 258 | > | |
| 259 | return rb; | |
| 260 | } | |
| 261 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |