From edbc56f48a2c18afab4bf5562c29c1d4a0498c7d Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 13 May 2017 15:48:17 +0200 Subject: [PATCH] remove export macro from template class to fix linker errors on Windows --- src/Base/ExceptionFactory.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;