diff options
Diffstat (limited to 'src/uscxml/interpreter/FastMicroStep.cpp')
-rw-r--r-- | src/uscxml/interpreter/FastMicroStep.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/uscxml/interpreter/FastMicroStep.cpp b/src/uscxml/interpreter/FastMicroStep.cpp index bf9749d..a5dcb58 100644 --- a/src/uscxml/interpreter/FastMicroStep.cpp +++ b/src/uscxml/interpreter/FastMicroStep.cpp @@ -18,6 +18,7 @@ */ #undef USCXML_VERBOSE +//#undef WITH_CACHE_FILES #include "FastMicroStep.h" #include "uscxml/util/DOM.h" @@ -288,9 +289,11 @@ void FastMicroStep::init(XERCESC_NS::DOMElement* scxml) { _states[0]->data = DOMUtils::filterChildElements(_xmlPrefix.str() + "data", dataModels, false); } +#ifdef WITH_CACHE_FILES auto currState = cache.compound["states"].array.begin(); auto endState = cache.compound["states"].array.end(); - +#endif + for (i = 0; i < _states.size(); i++) { #ifdef WITH_CACHE_FILES Data* cachedState = NULL; @@ -430,9 +433,11 @@ COMPLETION_STABLISHED: } assert(tmp.size() == 0); +#ifdef WITH_CACHE_FILES auto currTrans = cache.compound["transitions"].array.begin(); auto endTrans = cache.compound["transitions"].array.end(); - +#endif + for (i = 0; i < _transitions.size(); i++) { #ifdef WITH_CACHE_FILES |