summaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-01-28 09:14:17 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-01-28 09:14:17 (GMT)
commitaaec51ce3330a96f7a4f0f2ab0ca75f055223c67 (patch)
tree76590036778032937c5ccdfcc10cbdd8daacc54d /test/src
parent1ee1b5277f7096688c286b63270f8be200fc03ef (diff)
downloaduscxml-aaec51ce3330a96f7a4f0f2ab0ca75f055223c67.zip
uscxml-aaec51ce3330a96f7a4f0f2ab0ca75f055223c67.tar.gz
uscxml-aaec51ce3330a96f7a4f0f2ab0ca75f055223c67.tar.bz2
Builds with MSVC again
Diffstat (limited to 'test/src')
-rw-r--r--test/src/test-utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/test-utils.cpp b/test/src/test-utils.cpp
index 474cf89..dfeed04 100644
--- a/test/src/test-utils.cpp
+++ b/test/src/test-utils.cpp
@@ -4,7 +4,7 @@
* It is not actually a test as such, but makes sure that the snippets will
* actually compile and do what we claim they do.
*/
-#define protected public
+//#define protected public
#include "uscxml/config.h"
#include "uscxml/Common.h"
@@ -35,7 +35,7 @@ void testDOMUtils() {
Interpreter interpreter = Interpreter::fromXML(xml, "");
interpreter.step();
- XERCESC_NS::DOMElement* scxml = interpreter.getImpl()->_scxml;
+ XERCESC_NS::DOMElement* scxml = interpreter.getImpl()->getDocument()->getDocumentElement();
{
// postfix