mirror of https://github.com/CGAL/cgal
Add a static global singleton responsible for deallocation of memory to avoid vld warning
This commit is contained in:
parent
b2196fca0c
commit
13ff46e8d5
|
|
@ -70,7 +70,14 @@ static PTRIMAGE_FORMAT firstFormat=NULL;
|
|||
/** the Inrimage file format (default format) is initialized to null */
|
||||
static PTRIMAGE_FORMAT InrimageFormat=NULL;
|
||||
|
||||
struct Remove_supported_file_format {
|
||||
~Remove_supported_file_format()
|
||||
{
|
||||
removeSupportedFileFormat();
|
||||
}
|
||||
};
|
||||
|
||||
static Remove_supported_file_format rsff;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue