Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10364 for code/branches/core7


Ignore:
Timestamp:
Apr 14, 2015, 10:11:35 PM (10 years ago)
Author:
landauf
Message:

only check class hierarchy in dev mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/class/IdentifierManager.cc

    r10363 r10364  
    3737
    3838#include "util/StringUtils.h"
    39 #include "core/CoreIncludes.h"
     39#include "core/Core.h"
    4040#include "core/config/ConfigValueContainer.h"
    4141#include "core/XMLPort.h"
     
    147147        }
    148148
    149         this->verifyClassHierarchy();
     149        // only check class hierarchy in dev mode because it's an expensive operation and it requires a developer to fix detected problems anyway.
     150        if (Core::getInstance().inDevMode())
     151            this->verifyClassHierarchy();
    150152
    151153        this->stopCreatingHierarchy();
Note: See TracChangeset for help on using the changeset viewer.