... | ... |
@@ -100,6 +100,18 @@ |
100 | 100 |
|
101 | 101 |
virtual void _clear(); |
102 | 102 |
|
103 |
private: |
|
104 |
|
|
105 |
static void freeEnv(); |
|
106 |
|
|
107 |
struct FreeEnvHelper { |
|
108 |
~FreeEnvHelper() { |
|
109 |
freeEnv(); |
|
110 |
} |
|
111 |
}; |
|
112 |
|
|
113 |
static FreeEnvHelper freeEnvHelper; |
|
114 |
|
|
103 | 115 |
public: |
104 | 116 |
|
105 | 117 |
///Pointer to the underlying GLPK data structure. |
0 comments (0 inline)