Skip to content

Commit

Permalink
Make sure constructors of classes using FlxPool aren't DCEd
Browse files Browse the repository at this point in the history
closes #1757
  • Loading branch information
Gama11 committed Mar 2, 2016
1 parent 82d2ca6 commit b66a701
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions flixel/effects/FlxFlicker.hx
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,6 @@ class FlxFlicker implements IFlxDestroyable
/**
* Internal constructor. Use static methods.
*/
@:keep
private function new() {}
}
3 changes: 2 additions & 1 deletion flixel/util/FlxStringUtil.hx
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ class LabelValuePair implements IFlxDestroyable
label = null;
value = null;
}


@:keep
private function new() {}
}

0 comments on commit b66a701

Please sign in to comment.