Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/atom_atominfo.cpp

    rf16a4b read4e6  
    2020};
    2121
    22 element *AtomInfo::getType(){
     22const element *AtomInfo::getType(){
    2323  return type;
    2424}
    2525
    26 void AtomInfo::setType(element* _type) {
     26void AtomInfo::setType(const element* _type) {
    2727  type = _type;
    2828}
    2929
    3030void AtomInfo::setType(int Z) {
    31   element *elem = World::get()->getPeriode()->FindElement(Z);
     31  const element *elem = World::getInstance().getPeriode()->FindElement(Z);
    3232  setType(elem);
    3333}
Note: See TracChangeset for help on using the changeset viewer.