Created
January 17, 2014 01:20
-
-
Save dakcarto/8466816 to your computer and use it in GitHub Desktop.
saga-2.1.1 dylib destructor fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/modules_io/grid/io_grid/xyz.cpp b/src/modules_io/grid/io_grid/xyz.cpp | |
| index 9b6dc3b..3efdaa1 100644 | |
| --- a/src/modules_io/grid/io_grid/xyz.cpp | |
| +++ b/src/modules_io/grid/io_grid/xyz.cpp | |
| @@ -173,6 +173,10 @@ bool CXYZ_Export::On_Execute(void) | |
| return( false ); | |
| } | |
| +//--------------------------------------------------------- | |
| +CXYZ_Export::~CXYZ_Export(void) | |
| +{} | |
| + | |
| /////////////////////////////////////////////////////////// | |
| // // | |
| diff --git a/src/modules_io/grid/io_grid/xyz.h b/src/modules_io/grid/io_grid/xyz.h | |
| index ffbd194..33b62fd 100644 | |
| --- a/src/modules_io/grid/io_grid/xyz.h | |
| +++ b/src/modules_io/grid/io_grid/xyz.h | |
| @@ -86,6 +86,7 @@ class CXYZ_Export : public CSG_Module_Grid | |
| { | |
| public: | |
| CXYZ_Export(void); | |
| + virtual ~CXYZ_Export(void); | |
| virtual CSG_String Get_MenuPath (void) { return( _TL("R:Export") ); } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment