X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCASCatch%2FCASCatch_Failure.hxx;h=f8d5954cec931da8ca136da4032e3713c3df20f6;hb=4323e4e185bc05de8215f3cc12e077f4ccf953bc;hp=27c1f6ea6080885049ca181200a51301bf82a807;hpb=fc676e994a081937f71d310aeef85f9a301c0125;p=modules%2Fgui.git diff --git a/src/CASCatch/CASCatch_Failure.hxx b/src/CASCatch/CASCatch_Failure.hxx index 27c1f6ea6..f8d5954ce 100644 --- a/src/CASCatch/CASCatch_Failure.hxx +++ b/src/CASCatch/CASCatch_Failure.hxx @@ -26,12 +26,8 @@ #ifndef CASCATCH_FAILURE_HXX #define CASCATCH_FAILURE_HXX -#include - #include #include -DEFINE_STANDARD_HANDLE( CASCatch_Failure, Standard_Transient ) - #include /*! @@ -53,8 +49,7 @@ Standard_EXPORT static void Raise(const Standard_CString aMessage = "") ; Standard_EXPORT virtual void Throw() const;public: public: - - OCCT_DEFINE_STANDARD_RTTIEXT(CASCatch_Failure,Standard_Transient) + DEFINE_STANDARD_RTTIEXT(CASCatch_Failure, Standard_Transient) private: /*!\var myMessage @@ -64,5 +59,6 @@ Standard_Character* myMessage; }; +DEFINE_STANDARD_HANDLE(CASCatch_Failure, Standard_Transient) #endif // CASCATCH_FAILURE_HXX