Ignore:
Timestamp:
May 5, 2016, 5:14:19 PM (10 years ago)
Author:
Frederik Heber <heber@…>
Children:
94605f
Parents:
9274f3
git-author:
Frederik Heber <heber@…> (05/05/16 14:25:00)
git-committer:
Frederik Heber <heber@…> (05/05/16 17:14:19)
Message:

Replace const_cast'd World::getInstance() by getConstInstance().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/FragmentationAction/FragmentationAutomationAction.cpp

    r9274f3 r4a319a  
    211211#if defined(HAVE_JOBMARKET) && defined(HAVE_VMG)
    212212  if (params.DoLongrange.get()) {
    213   if ( const_cast<const World &>(World::getInstance()).getAllAtoms().size() == 0) {
     213  if ( World::getConstInstance().getAllAtoms().size() == 0) {
    214214    STATUS("Please load the full molecule into the world before starting this action.");
    215215    return Action::failure;
Note: See TracChangeset for help on using the changeset viewer.