Remove whitespace lines

This commit is contained in:
Joshua Granick
2018-07-18 17:32:51 -07:00
parent d3269a79ad
commit 78e99bf1d9
447 changed files with 36856 additions and 36888 deletions

View File

@@ -3,62 +3,62 @@
namespace lime {
class Object {
protected:
virtual ~Object () {}
public:
Object (bool has_initial_ref = false) : ref_count (has_initial_ref ? 1 : 0) {}
Object *grab () {
ref_count++;
return this;
return this;
}
Object *IncRef () {
ref_count++;
return this;
}
void DecRef () {
ref_count--;
if (ref_count <= 0) {
delete this;
}
}
void drop () {
ref_count--;
void drop () {
ref_count--;
if (ref_count <= 0) {
delete this;
delete this;
}
}
int ref_count;
};
}