Changes in src/molecule_pointcloud.cpp [274d45:112b09]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/molecule_pointcloud.cpp
r274d45 r112b09 57 57 void molecule::GoToFirst() const 58 58 { 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(); 65 60 }; 66 61
Note:
See TracChangeset
for help on using the changeset viewer.