thunderbrew/src/util/Autorelease.mm

10 lines
210 B
Text
Raw Normal View History

2023-01-02 13:17:18 -06:00
#include "util/Autorelease.hpp"
System_Autorelease::ScopedPool::ScopedPool() {
this->pool = [[NSAutoreleasePool alloc] init];
}
System_Autorelease::ScopedPool::~ScopedPool() {
[this->pool release];
}