diff --git a/src/Base/ExceptionFactory.h b/src/Base/ExceptionFactory.h index 7e9384c51d..6b5cc310ba 100644 --- a/src/Base/ExceptionFactory.h +++ b/src/Base/ExceptionFactory.h @@ -66,7 +66,7 @@ private: /* Producers */ template -class BaseExport ExceptionProducer : public AbstractExceptionProducer +class ExceptionProducer : public AbstractExceptionProducer { public: ExceptionProducer () @@ -79,7 +79,6 @@ public: void raiseException(PyObject * pydict) const { CLASS c; - c.setPyObject(pydict); throw c;