diff options
Diffstat (limited to 'src/uscxml')
-rw-r--r-- | src/uscxml/interpreter/FastMicroStep.cpp | 9 | ||||
-rw-r--r-- | src/uscxml/interpreter/FastMicroStep.h | 2 |
2 files changed, 9 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 diff --git a/src/uscxml/interpreter/FastMicroStep.h b/src/uscxml/interpreter/FastMicroStep.h index 97b7eeb..6c5518d 100644 --- a/src/uscxml/interpreter/FastMicroStep.h +++ b/src/uscxml/interpreter/FastMicroStep.h @@ -33,6 +33,8 @@ #include <boost/dynamic_bitset.hpp> +//#undef WITH_CACHE_FILES + #ifdef _WIN32 #define BITSET_BLOCKTYPE size_t #else |