Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecule_pointcloud.cpp

    r274d45 r112b09  
    5757void molecule::GoToFirst() const
    5858{
    59   // evil hack necessary because
    60   // -# although InternalPointer is mutable
    61   // -# only const_iterator begin() is called due to const in the function declaration above
    62   // -# and there is no cast from const_iterator to const iterator
    63   atomSet::const_iterator test = begin();
    64   InternalPointer = *(reinterpret_cast<atomSet::iterator *>(&test));
     59  InternalPointer = atoms.begin();
    6560};
    6661
Note: See TracChangeset for help on using the changeset viewer.