mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-03 19:13:15 +01:00
[svn r354] Fix the regressions between [346] and [353] by making constructors and destructors outside classes fatal errors.
Fix tests makefile and add minimize to gc.d.
This commit is contained in:
@@ -194,7 +194,10 @@ void genCollect()
|
||||
/**
|
||||
* Minimizes physical memory usage
|
||||
*/
|
||||
//void minimize();
|
||||
void minimize()
|
||||
{
|
||||
GC.collect();
|
||||
}
|
||||
|
||||
/***************************************
|
||||
* disable() temporarily disables garbage collection cycle, enable()
|
||||
|
||||
Reference in New Issue
Block a user