summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/uscxml/Interpreter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h
index 7b5ad06..6075dbc 100644
--- a/src/uscxml/Interpreter.h
+++ b/src/uscxml/Interpreter.h
@@ -228,14 +228,15 @@ public:
std::shared_ptr<InterpreterImpl> getImpl() const {
return _impl;
}
-
+#if 0
+ // "Ambiguous user-defined-conversion" with operator bool() on MSVC from Visual Studio 12
explicit operator MicroStepCallbacks*() { return (MicroStepCallbacks*)(_impl.get()); }
explicit operator DataModelCallbacks*() { return (DataModelCallbacks*)(_impl.get()); }
explicit operator IOProcessorCallbacks*() { return (IOProcessorCallbacks*)(_impl.get()); }
explicit operator ContentExecutorCallbacks*() { return (ContentExecutorCallbacks*)(_impl.get()); }
explicit operator DelayedEventQueueCallbacks*() { return (DelayedEventQueueCallbacks*)(_impl.get()); }
explicit operator InvokerCallbacks*() { return (InvokerCallbacks*)(_impl.get()); }
-
+#endif
protected:
std::shared_ptr<InterpreterImpl> _impl;