diff --git a/src/python/PyImath/PyImathStringTable.cpp b/src/python/PyImath/PyImathStringTable.cpp index af385bcc..344fa958 100644 --- a/src/python/PyImath/PyImathStringTable.cpp +++ b/src/python/PyImath/PyImathStringTable.cpp @@ -89,8 +89,8 @@ StringTableT::hasStringIndex(const StringTableIndex &s) const } namespace { -template class PYIMATH_EXPORT StringTableDetailT; -template class PYIMATH_EXPORT StringTableDetailT; +template class StringTableDetailT; +template class StringTableDetailT; } template class PYIMATH_EXPORT StringTableT; diff --git a/src/python/PyImath/PyImathUtil.h b/src/python/PyImath/PyImathUtil.h index 52a1fbdf..4b3351f8 100644 --- a/src/python/PyImath/PyImathUtil.h +++ b/src/python/PyImath/PyImathUtil.h @@ -40,10 +40,10 @@ class PyAcquireLock PYIMATH_EXPORT PyAcquireLock(); PYIMATH_EXPORT ~PyAcquireLock(); - PYIMATH_EXPORT PyAcquireLock(const PyAcquireLock& other) = delete; - PYIMATH_EXPORT PyAcquireLock & operator = (PyAcquireLock& other) = delete; - PYIMATH_EXPORT PyAcquireLock(PyAcquireLock&& other) = delete; - PYIMATH_EXPORT PyAcquireLock & operator = (PyAcquireLock&& other) = delete; + PyAcquireLock(const PyAcquireLock& other) = delete; + PyAcquireLock & operator = (PyAcquireLock& other) = delete; + PyAcquireLock(PyAcquireLock&& other) = delete; + PyAcquireLock & operator = (PyAcquireLock&& other) = delete; private: PyGILState_STATE _gstate; @@ -64,10 +64,10 @@ class PyReleaseLock public: PYIMATH_EXPORT PyReleaseLock(); PYIMATH_EXPORT ~PyReleaseLock(); - PYIMATH_EXPORT PyReleaseLock(const PyReleaseLock& other) = delete; - PYIMATH_EXPORT PyReleaseLock & operator = (PyReleaseLock& other) = delete; - PYIMATH_EXPORT PyReleaseLock(PyReleaseLock&& other) = delete; - PYIMATH_EXPORT PyReleaseLock & operator = (PyReleaseLock&& other) = delete; + PyReleaseLock(const PyReleaseLock& other) = delete; + PyReleaseLock & operator = (PyReleaseLock& other) = delete; + PyReleaseLock(PyReleaseLock&& other) = delete; + PyReleaseLock & operator = (PyReleaseLock&& other) = delete; private: PyThreadState *_save;