]> OCCT Git - occt.git/commitdiff
0032810: Coding - missing Standard_EXPORT in Standard_ErrorHandler
authoraml <aml@opencascade.com>
Fri, 28 Jan 2022 15:39:49 +0000 (18:39 +0300)
committersmoskvin <smoskvin@opencascade.com>
Wed, 2 Feb 2022 15:22:18 +0000 (18:22 +0300)
src/Standard/Standard_ErrorHandler.hxx

index 09bdc7bfbf1067b792913db689159970f7696523..85b5ff9fe2b7665e4d6920cd2d9abaecaad4065f 100644 (file)
@@ -155,13 +155,22 @@ public:
     DEFINE_STANDARD_ALLOC
 
     //! Registers this callback object in the current error handler (if found).
-    void RegisterCallback();
+    #if defined(OCC_CONVERT_SIGNALS)
+      Standard_EXPORT
+    #endif
+      void RegisterCallback();
 
     //! Unregisters this callback object from the error handler.
-    void UnregisterCallback();
+    #if defined(OCC_CONVERT_SIGNALS)
+      Standard_EXPORT
+    #endif
+      void UnregisterCallback();
 
     //! Destructor
-    virtual ~Callback();
+    #if defined(OCC_CONVERT_SIGNALS)
+      Standard_EXPORT
+    #endif
+      virtual ~Callback();
 
     //! The callback function to perform necessary callback action.
     //! Called by the exception handler when it is being destroyed but
@@ -171,7 +180,10 @@ public:
   protected:
 
     //! Empty constructor
-    Callback();
+    #if defined(OCC_CONVERT_SIGNALS)
+      Standard_EXPORT
+    #endif
+      Callback();
 
   private:
     Standard_Address myHandler;